From dbc091688f1edbbffb8c70e29778a9437b2d0e47 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 22 Apr 2012 17:43:15 +0200 Subject: Improved topic module --- connection/xmpp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'connection') 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): -- cgit v1.2.3