Skip to content
Snippets Groups Projects
Commit 5099ae35 authored by nkour's avatar nkour
Browse files

fix logic

parent 67c1816d
No related branches found
No related tags found
No related merge requests found
......@@ -418,7 +418,7 @@ class ConversationTextview:
if tags: # we clicked on sth special (it can be status message too)
for tag in tags:
tag_name = tag.get_property('name')
if tag_name is not None and 'url' in tag_name or 'mail' in tag_name:
if tag_name is not None and tag_name in ('url', 'mail'):
return True # we block normal context menu
# we check if sth was selected and if it was we assign
......
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