forked from mirrors/linphone-iphone
Removed redundant post of kLinphoneMessageReceived notification when chat conversation is opened
This commit is contained in:
parent
581d2dbf50
commit
e02580bade
1 changed files with 0 additions and 2 deletions
|
|
@ -1440,8 +1440,6 @@ void on_chat_room_chat_message_received(LinphoneChatRoom *cr, const LinphoneEven
|
|||
|
||||
bool isDisplayingBottomOfTable = [view.tableController.tableView indexPathsForVisibleRows].lastObject.row == [view.tableController totalNumberOfItems] - 1;
|
||||
[view.tableController addEventEntry:(LinphoneEventLog *)event_log];
|
||||
[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:view];
|
||||
|
||||
|
||||
if (isDisplayingBottomOfTable) {
|
||||
[view.tableController scrollToBottom:TRUE];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue