get message id instead of call id for a message

This commit is contained in:
Benjamin Reis 2017-12-19 11:57:40 +01:00
parent d9671c08aa
commit 1678554967

View file

@ -1093,7 +1093,7 @@ static void linphone_iphone_popup_password_request(LinphoneCore *lc, LinphoneAut
_silentPushCompletion = nil;
}
#pragma deploymate pop
NSString *callID = [NSString stringWithUTF8String:linphone_chat_message_get_custom_header(msg, "Call-ID")];
NSString *callID = [NSString stringWithUTF8String:linphone_chat_message_get_message_id(msg)];
const LinphoneAddress *peerAddress = linphone_chat_room_get_peer_address(room);
NSString *from = [FastAddressBook displayNameForAddress:peerAddress];