summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-10 12:28:25 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-10 12:28:25 +0000
commit75c058dafc8dc13883168b413d22b31de1638148 (patch)
tree9e33a0791897b875be4ee2bcf9d498099f80fdad
parente3974e8524283e8cc3d4c4df6a51648b8117f5b6 (diff)
downloadpoezio-75c058dafc8dc13883168b413d22b31de1638148.tar.gz
poezio-75c058dafc8dc13883168b413d22b31de1638148.tar.bz2
poezio-75c058dafc8dc13883168b413d22b31de1638148.tar.xz
poezio-75c058dafc8dc13883168b413d22b31de1638148.zip
fixed #1468
-rw-r--r--src/gui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index bd93f74d..65df0fb2 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -784,8 +784,10 @@ Avail: Sets your availability to available and (optional) sets your status
"""
/topic [new topic]
"""
- subject = ' '.join(args)
room = self.current_room()
+ if len(args) == 0:
+ self.add_message_to_room(room, _("The subject of the topic is: %s") % room.topic)
+ subject = ' '.join(args)
if not room.joined or room.name == "Info":
return
self.muc.change_subject(room.name, subject)