gajim-remote get_unread_msgs_number now works ok. fix #2622
This commit is contained in:
parent
ee4e96c4ad
commit
213cfba438
|
@ -149,7 +149,7 @@ class Events:
|
|||
return first_event
|
||||
|
||||
def _get_nb_events(self, account = None, jid = None, attribute = None, types = []):
|
||||
'''return the number of events'''
|
||||
'''return the number of pending events'''
|
||||
nb = 0
|
||||
if account:
|
||||
accounts = [account]
|
||||
|
|
|
@ -549,7 +549,7 @@ class SignalObject(dbus.service.Object):
|
|||
|
||||
@dbus.service.method(INTERFACE)
|
||||
def get_unread_msgs_number(self, *args):
|
||||
return str(gajim.events.get_nb_events)
|
||||
return str(gajim.events.get_nb_events())
|
||||
|
||||
@dbus.service.method(INTERFACE)
|
||||
def start_chat(self, *args):
|
||||
|
|
Loading…
Reference in New Issue