skypopen: hook up to mod_sms, spawning a thread for servicing chatmessage

This commit is contained in:
Giovanni Maruzzelli committed 2012-05-07 17:31:32 +02:00
1 parent 2557e962a2
commit 8597842a56
2 files changed
+70 -2

No files matched your search

@@ -478,6 +478,7 @@ int skypopen_signaling_read(private_t *tech_pvt)
tech_pvt->chatmessages[i].from_handle, tech_pvt->chatmessages[i].from_dispname, tech_pvt->chatmessages[i].body);
if (strcmp(tech_pvt->chatmessages[i].from_handle, tech_pvt->skype_user)) { //if the message was not sent by myself
incoming_chatmessage(tech_pvt, i);
memset(&tech_pvt->chatmessages[i], '\0', sizeof(&tech_pvt->chatmessages[i]));
}
}