fix: prevent blocking local number

This commit is contained in:
0x330a 2023-04-27 10:44:35 +10:00
parent bba6eb0cc2
commit 9ccf9b6bde
No known key found for this signature in database
GPG Key ID: 267811D6E6A2698C

View File

@ -88,7 +88,7 @@ object ConversationMenuHelper {
if (thread.isContactRecipient) {
if (thread.isBlocked) {
inflater.inflate(R.menu.menu_conversation_unblock, menu)
} else {
} else if (!thread.isLocalNumber) {
inflater.inflate(R.menu.menu_conversation_block, menu)
}
}