| 1080 statedata = purple_xmlnode_get_data(state); |
1080 statedata = purple_xmlnode_get_data(state); |
| 1081 if(statedata) { |
1081 if(statedata) { |
| 1082 if(strstr(statedata, "active")) |
1082 if(strstr(statedata, "active")) |
| 1083 purple_serv_got_typing(sip->gc, from, 0, PURPLE_IM_TYPING); |
1083 purple_serv_got_typing(sip->gc, from, 0, PURPLE_IM_TYPING); |
| 1084 else |
1084 else |
| 1085 purple_purple_serv_got_typing_stopped(sip->gc, from); |
1085 purple_serv_got_typing_stopped(sip->gc, from); |
| 1086 |
1086 |
| 1087 g_free(statedata); |
1087 g_free(statedata); |
| 1088 } |
1088 } |
| 1089 purple_xmlnode_free(isc); |
1089 purple_xmlnode_free(isc); |
| 1090 send_sip_response(sip->gc, msg, 200, "OK", NULL); |
1090 send_sip_response(sip->gc, msg, 200, "OK", NULL); |