From 0447188eac65507d9d126f75d70e5333f435894c Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 24 Jun 2016 21:17:29 +0200 Subject: Limit 0184 receipts to one-to-one tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of chat tabs, which include MUC which doesn’t implement that. --- poezio/core/handlers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index b03f5dfa..395efc26 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -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: -- cgit v1.2.3