Changeset c0e4c22 for protocols/jabber
- Timestamp:
- 2015-03-15T09:31:18Z (10 years ago)
- Children:
- 830864d
- Parents:
- fc650a8
- git-author:
- dequis <dx@…> (05-03-15 07:21:09)
- git-committer:
- dequis <dx@…> (15-03-15 09:31:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/hipchat.c
rfc650a8 rc0e4c22 134 134 struct groupchat *gc; 135 135 struct irc_channel *ircc; 136 //char *participants = NULL;137 136 char *topic = NULL; 138 137 gboolean new_room = FALSE; … … 142 141 imcb_log(ic, "Debug: adding MUC to channel list: %s - '%s'", jid, name); 143 142 144 c2 = xt_find_node_by_attr(c->children, "x", "xmlns", XMLNS_HIPCHAT_MUC); 145 146 if (c2) { 147 struct xt_node *node; 148 /* 149 if ( ( node = xt_find_node( c2->children, "num_participants" ) ) ) { 150 participants = node->text; 151 } 152 */ 153 if ((node = xt_find_node(c2->children, "topic"))) { 154 topic = node->text; 155 } 143 if ((c2 = xt_find_node_by_attr(c->children, "x", "xmlns", XMLNS_HIPCHAT_MUC)) && 144 (c2 = xt_find_node(c2->children, "topic"))) { 145 topic = c2->text; 156 146 } 157 147
Note: See TracChangeset
for help on using the changeset viewer.