mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix lost of unread notification
This commit is contained in:
parent
3d92614919
commit
ab279345ae
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue