quick frontend (app): fixed filtering for chat state notifications

This commit is contained in:
Goffi 2019-01-19 23:27:59 +01:00
commit 2396f623aa

View file

@ -853,7 +853,8 @@ class QuickApp(object):
@param profile (unicode): current profile
"""
from_jid = jid.JID(from_jid_s)
for widget in self.widgets.getWidgets(quick_chat.QuickChat, profiles=(profile,)):
for widget in self.widgets.getWidgets(quick_chat.QuickChat, target=from_jid.bare,
profiles=(profile,)):
widget.onChatState(from_jid, state, profile)
def notify(