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:
parent
158bb8c3f3
commit
0447188eac
1 changed files with 3 additions and 2 deletions
|
@ -1078,9 +1078,10 @@ class HandlerCore:
|
||||||
if not msg_id:
|
if not msg_id:
|
||||||
return
|
return
|
||||||
|
|
||||||
conversation = self.core.get_tab_by_name(jid.full, 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.ChatTab)
|
conversation = conversation or self.core.get_tab_by_name(jid.bare, tabs.OneToOneTab)
|
||||||
if not conversation:
|
if not conversation:
|
||||||
|
log.error("Received ack from non-existing chat tab: %s", jid)
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue