Mercurial > hg
diff mcabber/src/commands.c @ 988:6e2bfd1ffded
Add ids to message stanzas if needed
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 30 Oct 2006 23:37:58 +0100 |
parents | ea939ff047d8 |
children | c8b1a52b2fd6 |
line wrap: on
line diff
--- a/mcabber/src/commands.c Mon Oct 30 20:18:00 2006 +0100 +++ b/mcabber/src/commands.c Mon Oct 30 23:37:58 2006 +0100 @@ -320,7 +320,7 @@ } // Network part - jb_send_msg(jid, msg, buddy_gettype(BUDDATA(current_buddy)), subj); + jb_send_msg(jid, msg, buddy_gettype(BUDDATA(current_buddy)), subj, NULL); } // process_command(line) @@ -825,7 +825,7 @@ if (hmsg != msg) g_free(hmsg); // Network part - jb_send_msg(jid, msg, ROSTER_TYPE_USER, subj); + jb_send_msg(jid, msg, ROSTER_TYPE_USER, subj, NULL); if (rp) g_free(bare_jid); return 0; @@ -1912,7 +1912,7 @@ arg = to_utf8(arg); // Set the topic msg = g_strdup_printf("%s has set the topic to: %s", mkcmdstr("me"), arg); - jb_send_msg(buddy_getjid(bud), msg, ROSTER_TYPE_ROOM, arg); + jb_send_msg(buddy_getjid(bud), msg, ROSTER_TYPE_ROOM, arg, NULL); g_free(arg); g_free(msg); }