diff --git a/src/gajim.py b/src/gajim.py index 5e3187510..65de1d2e1 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -735,6 +735,8 @@ class Interface: elif new_show > 1: # Status change (not connected/disconnected or error (<1)) notify.notify('status_change', jid, account, [new_show, status_message]) + if self.remote_ctrl: + self.remote_ctrl.raise_signal('ContactStatus', (account, array)) else: # FIXME: Msn transport (CMSN1.2.1 and PyMSN) doesn't follow the XEP # still the case in 2008 diff --git a/src/remote_control.py b/src/remote_control.py index 1ff760d15..20c111b64 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -129,6 +129,10 @@ class SignalObject(dbus.service.Object): def ContactAbsence(self, account_and_array): pass + @dbus.service.signal(INTERFACE, signature='av') + def ContactStatus(self, account_and_array): + pass + @dbus.service.signal(INTERFACE, signature='av') def NewMessage(self, account_and_array): pass