summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-09-29 23:47:54 +0200
committermathieui <mathieui@mathieui.net>2016-09-29 23:47:54 +0200
commit8f9e14dcb67f494d80f3b28d30df17a187999722 (patch)
tree04f2b35def2ed07b39c71235dc54a49acd1e54df /poezio/core/core.py
parentb035d9f2cfe6182cd44369dd15efd4bc986b8839 (diff)
downloadpoezio-8f9e14dcb67f494d80f3b28d30df17a187999722.tar.gz
poezio-8f9e14dcb67f494d80f3b28d30df17a187999722.tar.bz2
poezio-8f9e14dcb67f494d80f3b28d30df17a187999722.tar.xz
poezio-8f9e14dcb67f494d80f3b28d30df17a187999722.zip
Display status changes in one to one chats
Make hide_status_change work there as well, with per-jid configuration
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 2ec71cb2..3f435aa3 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1334,10 +1334,10 @@ class Core(object):
if tab.name.startswith(room_name):
tab.activate(reason=reason)
- def on_user_changed_status_in_private(self, jid, msg):
+ def on_user_changed_status_in_private(self, jid, status):
tab = self.get_tab_by_name(jid, tabs.ChatTab)
if tab is not None: # display the message in private
- tab.add_message(msg, typ=2)
+ tab.update_status(status)
def close_tab(self, tab=None):
"""