comparison mcabber/src/jabglue.c @ 1132:1650056b96fc

Do not use chat states of error messages :)
author Mikael Berthe <mikael@lilotux.net>
date Sun, 21 Jan 2007 16:08:54 +0100
parents ac9c89f6cb51
children 45d3b9dda43d
comparison
equal deleted inserted replaced
1131:73e6ca0a03a9 1132:1650056b96fc
2269 if (body) strcat(tmp, body); 2269 if (body) strcat(tmp, body);
2270 body = tmp; 2270 body = tmp;
2271 } 2271 }
2272 } 2272 }
2273 2273
2274 handle_state_events(from, xmldata);
2275
2276 // Not used yet... 2274 // Not used yet...
2277 x = xml_get_xmlns(xmldata, NS_ENCRYPTED); 2275 x = xml_get_xmlns(xmldata, NS_ENCRYPTED);
2278 if (x && (p = xmlnode_get_data(x)) != NULL) { 2276 if (x && (p = xmlnode_get_data(x)) != NULL) {
2279 enc = p; 2277 enc = p;
2280 } 2278 }
2288 #if defined JEP0022 || defined JEP0085 2286 #if defined JEP0022 || defined JEP0085
2289 // If the JEP85/22 support is probed, set it back to unknown so that 2287 // If the JEP85/22 support is probed, set it back to unknown so that
2290 // we probe it again. 2288 // we probe it again.
2291 chatstates_reset_probed(from); 2289 chatstates_reset_probed(from);
2292 #endif 2290 #endif
2291 } else {
2292 handle_state_events(from, xmldata);
2293 } 2293 }
2294 if (from && body) 2294 if (from && body)
2295 gotmessage(type, from, body, enc, timestamp, 2295 gotmessage(type, from, body, enc, timestamp,
2296 xml_get_xmlns(xmldata, NS_SIGNED)); 2296 xml_get_xmlns(xmldata, NS_SIGNED));
2297 2297