forked from mirrors/linphone-iphone
better way of getting last message
This commit is contained in:
parent
d255163fe2
commit
782442e037
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
LinphoneChatMessage *last_msg = linphone_chat_room_get_user_data(chatRoom);
|
||||
LinphoneChatMessage *last_msg = linphone_chat_room_get_last_message_in_history(chatRoom);
|
||||
if (last_msg) {
|
||||
NSString *message = [UIChatBubbleTextCell TextMessageForChat:last_msg];
|
||||
// shorten long messages
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue