Commit e9068f08 authored by Philipp Hörist's avatar Philipp Hörist

DBus: Show correct unread message number

Fixes #8362
parent c2f2ba97
......@@ -901,7 +901,11 @@ class GajimRemote(Server):
return contact_dict
def get_unread_msgs_number(self):
return str(
unread =
for event in['printed_gc_msg']):
if not app.config.notify_for_muc(event.jid):
unread -= 1
return str(unread)
def start_chat(self, account):
if not account:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment