GajimRemote: pass combined chatstate

This commit is contained in:
Philipp Hörist 2018-10-07 20:46:26 +02:00
parent acc5f0b62c
commit 7ef05d5d76
1 changed files with 3 additions and 2 deletions

View File

@ -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: