Limit 0184 receipts to one-to-one tabs

Instead of chat tabs, which include MUC which doesn’t implement that.
This commit is contained in:
mathieui 2016-06-24 21:17:29 +02:00
parent 158bb8c3f3
commit 0447188eac

View file

@ -1078,9 +1078,10 @@ class HandlerCore:
if not msg_id:
return
conversation = self.core.get_tab_by_name(jid.full, tabs.ChatTab)
conversation = conversation or self.core.get_tab_by_name(jid.bare, tabs.ChatTab)
conversation = self.core.get_tab_by_name(jid.full, tabs.OneToOneTab)
conversation = conversation or self.core.get_tab_by_name(jid.bare, tabs.OneToOneTab)
if not conversation:
log.error("Received ack from non-existing chat tab: %s", jid)
return
try: