remove undocumented and redundant function (linphone_chat_message_set_external_body_url() could be used instead)

This commit is contained in:
Simon Morlat 2015-06-22 18:09:50 +02:00
parent 21204dbbf9
commit d36a3f2746
2 changed files with 2 additions and 4 deletions

View file

@ -1068,20 +1068,19 @@ const char* linphone_chat_message_get_external_body_url(const LinphoneChatMessag
return message->external_body_url;
}
void linphone_chat_message_set_external_body_url(LinphoneChatMessage* message,const char* url) {
void linphone_chat_message_set_external_body_url(LinphoneChatMessage* message, const char* url) {
if (message->external_body_url) {
ms_free(message->external_body_url);
}
message->external_body_url=url?ms_strdup(url):NULL;
}
const char* linphone_chat_message_get_appdata(const LinphoneChatMessage* message){
return message->appdata;
}
void linphone_chat_message_set_appdata(LinphoneChatMessage* message, const char* data){
if( message->appdata ){
if ( message->appdata ){
ms_free(message->appdata);
}
message->appdata = data? ms_strdup(data) : NULL;

View file

@ -1560,7 +1560,6 @@ LINPHONE_PUBLIC void linphone_chat_room_send_message2(LinphoneChatRoom *cr, Linp
* by calling linphone_chat_message_get_callbacks().
*/
LINPHONE_PUBLIC void linphone_chat_room_send_chat_message(LinphoneChatRoom *cr, LinphoneChatMessage *msg);
LINPHONE_PUBLIC void linphone_chat_room_update_url(LinphoneChatRoom *cr, LinphoneChatMessage *msg);
/**
* Mark all messages of the conversation as read