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

GajimRemote: pass combined chatstate

parent 0c0d852a
......@@ -324,8 +324,9 @@ class GajimRemote(Server):
self.on_message_sent)
def on_chatstate_received(self, obj):
self.raise_signal('ChatState', (obj.account, [
obj.jid, obj.fjid, obj.stanza, obj.resource, obj.chatstate]))
chatstate = app.contacts.get_combined_chatstate(
obj.account, obj.jid)
self.raise_signal('ChatState', (obj.account, [obj.jid, chatstate]))
def on_message_sent(self, obj):
try:
......
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