we can now send message to online users

This commit is contained in:
Yann Leboulanger 2005-08-07 11:40:48 +00:00
parent 6e156f95ea
commit 2d1f629527
1 changed files with 1 additions and 1 deletions

View File

@ -1296,7 +1296,7 @@ class SingleMessageWindow:
begin, end = self.message_tv_buffer.get_bounds()
message = self.message_tv_buffer.get_text(begin, end)
if to_whom_jid.find('/announce/motd') != -1:
if to_whom_jid.find('/announce/') != -1:
gajim.connections[self.account].send_motd(to_whom_jid, subject,
message)
return