/topic irc emulation
This commit is contained in:
parent
29e9d8c699
commit
c10ace87fe
|
@ -565,8 +565,13 @@ class GroupchatWindow(chat.Chat):
|
|||
self.on_send_pm(nick=to_whom_nick, msg=message)
|
||||
return # don't print the command
|
||||
|
||||
elif message.startswith('/topic '):
|
||||
new_subj = message[7:].strip() # 7 is len('/topic ')
|
||||
gajim.connections[self.account].send_gc_subject(room_jid, new_subj)
|
||||
return # don't print the command
|
||||
|
||||
gajim.connections[self.account].send_gc_message(room_jid, message)
|
||||
message_buffer.set_text('', -1)
|
||||
message_buffer.set_text('')
|
||||
message_textview.grab_focus()
|
||||
|
||||
def print_conversation(self, text, room_jid, contact = '', tim = None):
|
||||
|
|
Loading…
Reference in New Issue