mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
fix: prevent blocking local number
This commit is contained in:
parent
bba6eb0cc2
commit
9ccf9b6bde
@ -88,7 +88,7 @@ object ConversationMenuHelper {
|
|||||||
if (thread.isContactRecipient) {
|
if (thread.isContactRecipient) {
|
||||||
if (thread.isBlocked) {
|
if (thread.isBlocked) {
|
||||||
inflater.inflate(R.menu.menu_conversation_unblock, menu)
|
inflater.inflate(R.menu.menu_conversation_unblock, menu)
|
||||||
} else {
|
} else if (!thread.isLocalNumber) {
|
||||||
inflater.inflate(R.menu.menu_conversation_block, menu)
|
inflater.inflate(R.menu.menu_conversation_block, menu)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user