提交 f2fdcf6b authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: when sending a chatmessage, do not report it as an incoming message…

skypiax: when sending a chatmessage, do not report it as an incoming message (eg: do not report the messages sent by myself)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15327 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e349d65b
......@@ -366,8 +366,10 @@ int skypiax_signaling_read(private_t * tech_pvt)
ERRORA("why chatmessage %s was not found in the chatmessages array??\n", SKYPIAX_P_LOG, id);
}else {
DEBUGA_SKYPE("CHATMESSAGE %s is in position %d in the chatmessages array, type=%s, id=%s, chatname=%s, from_handle=%s, from_dispname=%s, body=%s\n", SKYPIAX_P_LOG, id, i, tech_pvt->chatmessages[i].type, tech_pvt->chatmessages[i].id, tech_pvt->chatmessages[i].chatname, 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);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论