Fix traceback when right click on email in history viewer. Fixes #5131
This commit is contained in:
parent
e01cb71d8f
commit
4917ffdbcc
|
@ -873,6 +873,7 @@ class ConversationTextview(gobject.GObject):
|
|||
self.handlers[id_] = childs[6]
|
||||
|
||||
allow_add = False
|
||||
if self.account:
|
||||
c = gajim.contacts.get_first_contact_from_jid(self.account, text)
|
||||
if c and not gajim.contacts.is_pm_from_contact(self.account, c):
|
||||
if _('Not in Roster') in c.groups:
|
||||
|
|
Loading…
Reference in New Issue