From c84ba5fe5fc394fa23f5481cbe81146b3647fed5 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Mon, 28 Jan 2019 10:16:15 +0100 Subject: [PATCH] Revert "fix lost of unread notification" This reverts commit 5449420d312662a09dac245bbfb49edee42cf7db. --- Classes/LinphoneManager.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index fed78bf7e..661fafd5c 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1441,8 +1441,7 @@ static void linphone_iphone_call_encryption_changed(LinphoneCore *lc, LinphoneCa void linphone_iphone_chatroom_state_changed(LinphoneCore *lc, LinphoneChatRoom *cr, LinphoneChatRoomState state) { if (state == LinphoneChatRoomStateCreated) { - // this will cause lost of unread notification of TabBarView - //[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:nil]; + [NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:nil]; } }