Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp_helper.h @ 2032:f740c4128f76
Fix receipts handling according to recent XEP updates
* add lm_get_uid() @xmpp_helper.h
* identify receipts by id attribute of 'received' subelement
instead of stanza id
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Sun, 14 Oct 2012 17:39:11 +0200 |
parents | e6d355e50d7a |
children | a37fbc3ac6aa |
comparison
equal
deleted
inserted
replaced
2031:2b13be73351d | 2032:f740c4128f76 |
---|---|
27 #ifdef MODULES_ENABLE | 27 #ifdef MODULES_ENABLE |
28 void xmpp_add_feature (const char *xmlns); | 28 void xmpp_add_feature (const char *xmlns); |
29 void xmpp_del_feature (const char *xmlns); | 29 void xmpp_del_feature (const char *xmlns); |
30 #endif | 30 #endif |
31 | 31 |
32 gchar *lm_get_uid (void); | |
33 | |
32 LmMessageNode *lm_message_node_new(const gchar *name, const gchar *xmlns); | 34 LmMessageNode *lm_message_node_new(const gchar *name, const gchar *xmlns); |
33 LmMessageNode *lm_message_node_find_xmlns(LmMessageNode *node, | 35 LmMessageNode *lm_message_node_find_xmlns(LmMessageNode *node, |
34 const char *xmlns); | 36 const char *xmlns); |
35 const gchar* lm_message_node_get_child_value(LmMessageNode *node, | 37 const gchar* lm_message_node_get_child_value(LmMessageNode *node, |
36 const gchar *child); | 38 const gchar *child); |