Skip to content
Snippets Groups Projects
Commit 36a36dad authored by Sébastien Blin's avatar Sébastien Blin
Browse files

contextmenu: remove "Block contact" on self

jami-project#1586

Change-Id: I9b86781869d80eda347659f0c009b8dfe09bdfd0
parent 38735b05
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ ContextMenuAutoLoader {
GeneralMenuItem {
id: blockContact
canTrigger: !hasCall && contactType !== Profile.Type.SIP && !root.isBanned && isCoreDialog
canTrigger: !hasCall && contactType !== Profile.Type.SIP && !root.isBanned && isCoreDialog && root.idText !== CurrentAccount.uri
itemName: JamiStrings.blockContact
iconSource: JamiResources.block_black_24dp_svg
addMenuSeparatorAfter: canTrigger
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment