comparison mcabber/mcabber/xmpp.c @ 1953:9f443617e96b

Improve MUC support (Myhailo Danylenko) This patch should allow handling of multiple statuses in MUC rooms. Patch merged from isbear's mcabber-experimental repository.
author Mikael Berthe <mikael@lilotux.net>
date Mon, 14 Mar 2011 13:17:17 +0100
parents 1a01a7ef4e43
children 5d718766d2d6
comparison
equal deleted inserted replaced
1952:975f6f26b052 1953:9f443617e96b
1292 } 1292 }
1293 1293
1294 if (from) { 1294 if (from) {
1295 x = lm_message_node_find_xmlns(m->node, NS_MUC_USER); 1295 x = lm_message_node_find_xmlns(m->node, NS_MUC_USER);
1296 if (x && !strcmp(x->name, "x")) 1296 if (x && !strcmp(x->name, "x"))
1297 got_muc_message(from, x); 1297 got_muc_message(from, x, timestamp);
1298 1298
1299 x = lm_message_node_find_xmlns(m->node, NS_X_CONFERENCE); 1299 x = lm_message_node_find_xmlns(m->node, NS_X_CONFERENCE);
1300 1300
1301 if (x && !strcmp(x->name, "x")) { 1301 if (x && !strcmp(x->name, "x")) {
1302 const char *jid = lm_message_node_get_attribute(x, "jid"); 1302 const char *jid = lm_message_node_get_attribute(x, "jid");