Changes in protocols/jabber/iq.c [416b973:a42169b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/iq.c
r416b973 ra42169b 1007 1007 { 1008 1008 struct jabber_data *jd = ic->proto_data; 1009 struct prpl *prpl = ic->acc->prpl;1010 1009 struct xt_node *query, *id, *c; 1011 1010 char *feature; … … 1015 1014 } 1016 1015 1017 if (xt_find_node_by_attr(query->children, "feature", "var", XMLNS_BLOCK)) { 1018 prpl->add_deny = jabber_buddy_block; 1019 prpl->rem_deny = jabber_buddy_unblock; 1020 prpl->add_permit = jabber_buddy_permit; 1021 prpl->rem_permit = jabber_buddy_unpermit; 1022 } 1016 c = query->children; 1017 1018 while ((c = xt_find_node(c, "feature"))) { 1019 feature = xt_find_attr(c, "var"); 1020 if (feature) { 1021 jd->features = g_slist_append(jd->features, g_strdup(feature)); 1022 } 1023 c = c->next; 1024 } 1023 1025 1024 1026 if (xt_find_node_by_attr(query->children, "feature", "var", XMLNS_CARBONS) && … … 1049 1051 } 1050 1052 } 1053 1054 jabber_block_feature(ic); 1051 1055 1052 1056 return XT_HANDLED;
Note: See TracChangeset
for help on using the changeset viewer.