Fix LMC in Groupchats

This commit is contained in:
Philipp Hörist 2017-12-28 17:37:37 +01:00
parent d3333ba9d9
commit ccc69bc7ee
1 changed files with 2 additions and 0 deletions

View File

@ -1994,6 +1994,8 @@ class GroupchatControl(ChatControlBase):
self.model.remove(parent_iter)
def _message_sent(self, obj):
if not obj.message:
return
# we'll save sent message text when we'll receive it in
# _nec_gc_message_received
self.last_sent_msg = obj.stanza_id