feat: Add the ability to block/unblock contact via contact details page (#10899)

This commit is contained in:
Sivin Varghese
2025-02-14 04:29:35 +05:30
committed by GitHub
parent 43753bc74a
commit f112e500e1
5 changed files with 77 additions and 11 deletions

View File

@@ -142,6 +142,7 @@ class Contact < ApplicationRecord
name: name,
phone_number: phone_number,
thumbnail: avatar_url,
blocked: blocked,
type: 'contact'
}
end
@@ -157,7 +158,8 @@ class Contact < ApplicationRecord
identifier: identifier,
name: name,
phone_number: phone_number,
thumbnail: avatar_url
thumbnail: avatar_url,
blocked: blocked
}
end