Revert "fix lost of unread notification"

This reverts commit 5449420d312662a09dac245bbfb49edee42cf7db.
This commit is contained in:
Danmei Chen 2019-01-28 10:16:15 +01:00
parent 1075515bb9
commit c84ba5fe5f

View file

@ -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];
}
}