summaryrefslogtreecommitdiffstats
path: root/connection
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-22 17:43:15 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-22 17:43:15 +0200
commitdbc091688f1edbbffb8c70e29778a9437b2d0e47 (patch)
treeceb3429b9b20f2888d095f2f67975187c7d0e56a /connection
parentbb0168b6b8c1cad235c4fcd49a8b4232d4d07ee6 (diff)
downloadcurunir-dbc091688f1edbbffb8c70e29778a9437b2d0e47.tar
curunir-dbc091688f1edbbffb8c70e29778a9437b2d0e47.zip
Improved topic module
Diffstat (limited to 'connection')
-rw-r--r--connection/xmpp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/connection/xmpp.py b/connection/xmpp.py
index dd1c061..d6e3a3f 100644
--- a/connection/xmpp.py
+++ b/connection/xmpp.py
@@ -33,6 +33,7 @@ class MucHandler(MucRoomHandler):
def set_topic(self, topic):
self.room_state.set_subject(topic)
+ self.room_state.subject = topic
def message_received(self, user, stanza):
if(user == None or user.same_as(self.room_state.me) or stanza.get_body() == None):