Same for groupchat.

This commit is contained in:
js 2008-05-05 18:43:44 +00:00
parent b42a89d269
commit ab1f59c433
1 changed files with 3 additions and 10 deletions

View File

@ -1445,16 +1445,9 @@ class GroupchatControl(ChatControlBase):
self.clear(self.msg_textview) self.clear(self.msg_textview)
return True return True
elif command == 'say': elif command == 'say':
if len(message_array):
gajim.connections[self.account].send_gc_message(self.room_jid, gajim.connections[self.account].send_gc_message(self.room_jid,
message[4:]) message[4:])
self.clear(self.msg_textview) self.clear(self.msg_textview)
else:
self.get_command_help(command)
return True
else:
self.print_conversation(_('No such command: /%s (if you want to send '
'this, prefix it with /say)') % command, 'info')
return True return True
return False return False