diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index bb7e5551a..fed78bf7e 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1440,8 +1440,10 @@ 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) - [NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:nil]; + if (state == LinphoneChatRoomStateCreated) { + // this will cause lost of unread notification of TabBarView + //[NSNotificationCenter.defaultCenter postNotificationName:kLinphoneMessageReceived object:nil]; + } } void linphone_iphone_version_update_check_result_received (LinphoneCore *lc, LinphoneVersionUpdateCheckResult result, const char *version, const char *url) {