Mercurial > pidgin.yaz
comparison libpurple/protocols/simple/simple.c @ 19670:168c5eeadfc3
Fix subscribing to an offline user in SIMPLE. Thanks to Will Hawkins for the patch and following up with the OpenSER folks to confirm the behavior. Fixes #2181.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 06 Sep 2007 15:40:57 +0000 |
parents | 941965d6fd88 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
19669:fb3b3e93b9ca | 19670:168c5eeadfc3 |
---|---|
1064 pidf = xmlnode_from_str(msg->body, msg->bodylen); | 1064 pidf = xmlnode_from_str(msg->body, msg->bodylen); |
1065 | 1065 |
1066 if(!pidf) { | 1066 if(!pidf) { |
1067 purple_debug_info("simple", "process_incoming_notify: no parseable pidf\n"); | 1067 purple_debug_info("simple", "process_incoming_notify: no parseable pidf\n"); |
1068 g_free(from); | 1068 g_free(from); |
1069 send_sip_response(sip->gc, msg, 200, "OK", NULL); | |
1069 return; | 1070 return; |
1070 } | 1071 } |
1071 | 1072 |
1072 if ((tuple = xmlnode_get_child(pidf, "tuple"))) | 1073 if ((tuple = xmlnode_get_child(pidf, "tuple"))) |
1073 if ((status = xmlnode_get_child(tuple, "status"))) | 1074 if ((status = xmlnode_get_child(tuple, "status"))) |