summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-06-24 21:17:29 +0200
committermathieui <mathieui@mathieui.net>2016-06-24 21:17:29 +0200
commit0447188eac65507d9d126f75d70e5333f435894c (patch)
tree6637255b1ea2804fff22fd7647adff3ed03883ba
parent158bb8c3f36d5bee355dab5000f72adbd58e2154 (diff)
downloadpoezio-0447188eac65507d9d126f75d70e5333f435894c.tar.gz
poezio-0447188eac65507d9d126f75d70e5333f435894c.tar.bz2
poezio-0447188eac65507d9d126f75d70e5333f435894c.tar.xz
poezio-0447188eac65507d9d126f75d70e5333f435894c.zip
Limit 0184 receipts to one-to-one tabs
Instead of chat tabs, which include MUC which doesn’t implement that.
-rw-r--r--poezio/core/handlers.py5
1 files 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: