summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-05 05:27:52 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-05 05:27:52 +0200
commitf4c138e444bb5913e3d9a940999949c43dc25825 (patch)
tree2480b3ec4160f03d2fe7f6b5ce36bf06abfbbb65 /src/tabs.py
parentcb1abbd9451af2062cc8f71f51e0ba903fa2f749 (diff)
downloadpoezio-f4c138e444bb5913e3d9a940999949c43dc25825.tar.gz
poezio-f4c138e444bb5913e3d9a940999949c43dc25825.tar.bz2
poezio-f4c138e444bb5913e3d9a940999949c43dc25825.tar.xz
poezio-f4c138e444bb5913e3d9a940999949c43dc25825.zip
Save the last presence. Fix #2133
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 832aa281..c84ba0fa 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -487,7 +487,8 @@ class MucTab(ChatTab):
room = self.get_room()
if not room.joined:
return
- muc.change_nick(self.core.xmpp, room.name, nick)
+ current_status = self.core.get_status()
+ muc.change_nick(self.core.xmpp, room.name, nick, current_status.message, current_status.show)
def command_part(self, arg):
"""