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

This commit is contained in:
Sivin Varghese
2025-02-13 14:59:35 -08:00
committed by GitHub
parent 43753bc74a
commit f112e500e1
5 changed files with 77 additions and 11 deletions
+3 -1
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