Fix regression from 4caa4971
This commit is contained in:
parent
711f3cbbb0
commit
cf911b3984
|
@ -2695,6 +2695,8 @@ class RosterWindow:
|
||||||
self.draw_account(obj.conn.name)
|
self.draw_account(obj.conn.name)
|
||||||
|
|
||||||
def _nec_decrypted_message_received(self, obj):
|
def _nec_decrypted_message_received(self, obj):
|
||||||
|
if not obj.msgtxt:
|
||||||
|
return True
|
||||||
if obj.mtype not in ('normal', 'chat'):
|
if obj.mtype not in ('normal', 'chat'):
|
||||||
return
|
return
|
||||||
if obj.mtype == 'normal' and obj.popup:
|
if obj.mtype == 'normal' and obj.popup:
|
||||||
|
|
Loading…
Reference in New Issue