summaryrefslogtreecommitdiff
path: root/src/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.py')
-rw-r--r--src/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 2e7a3c64..75f914f8 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -1219,7 +1219,7 @@ class Core(object):
tab.activate(reason=reason)
def on_user_changed_status_in_private(self, jid, msg):
- tab = self.get_tab_by_name(jid)
+ tab = self.get_tab_by_name(jid, tabs.ChatTab)
if tab: # display the message in private
tab.add_message(msg, typ=2)