From a03e6aed2ed42f29bfecd3e0a97b843f415acdec Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Tue, 7 Nov 2017 15:21:29 +0100 Subject: [PATCH] add TODO instruction --- Classes/ChatsListTableView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/ChatsListTableView.m b/Classes/ChatsListTableView.m index 87cbb857d..bca7677a4 100644 --- a/Classes/ChatsListTableView.m +++ b/Classes/ChatsListTableView.m @@ -98,6 +98,7 @@ static int sorted_history_comparison(LinphoneChatRoom *to_insert, LinphoneChatRo LinphoneChatRoom *chat_room = iter->data; bctbx_list_t *history = linphone_chat_room_get_history_events(iter->data, 1); LinphoneChatMessage *last_msg = NULL; + // TODO [2017/11/07]: get_last_message directly via chat room API while (history) { LinphoneEventLog *event = history->data; if (linphone_event_log_get_type(event) != LinphoneEventLogTypeConferenceChatMessage) {