63
63
type = lm_message_get_sub_type(lmsg);
64
64
id = lm_message_node_get_attribute(lmsg->node, "id");
65
67
from = xmpp_recode_in(lm_message_node_get_attribute(lmsg->node, "from"));
66
70
to = xmpp_recode_in(lm_message_node_get_attribute(lmsg->node, "to"));
67
73
switch(lm_message_get_type(lmsg)) {
68
74
case LM_MESSAGE_TYPE_MESSAGE:
69
75
signal_emit("xmpp recv message", 6,