forked from mirrors/linphone-iphone
Revert "Remove updateIMDNList in UIChatCell and hide drop down menu when app moved to background/foreground"
This reverts commit 31dc0345e9.
This commit is contained in:
parent
31dc0345e9
commit
4d6ba1cf0f
2 changed files with 4 additions and 7 deletions
|
|
@ -240,10 +240,10 @@ static void message_status(LinphoneChatMessage *msg, LinphoneChatMessageState st
|
|||
}
|
||||
|
||||
static void participant_imdn_status(LinphoneChatMessage* msg, const LinphoneParticipantImdnState *state) {
|
||||
//dispatch_async(dispatch_get_main_queue(), ^{
|
||||
//ChatConversationImdnView *imdnView = VIEW(ChatConversationImdnView);
|
||||
//[imdnView updateImdnList];
|
||||
//});
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
ChatConversationImdnView *imdnView = VIEW(ChatConversationImdnView);
|
||||
[imdnView updateImdnList];
|
||||
});
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -249,9 +249,6 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
}
|
||||
|
||||
@objc func appMovedToForeground() {
|
||||
if (tableControllerSwift.menu != nil && !tableControllerSwift.menu!.isHidden) {
|
||||
tableControllerSwift.menu!.hide()
|
||||
}
|
||||
if(PhoneMainView.instance().currentView == ChatConversationViewSwift.compositeViewDescription()){
|
||||
let lc: Core = Core.getSwiftObject(cObject: LinphoneManager.getLc())
|
||||
if(lc.globalState.rawValue == LinphoneGlobalOn.rawValue){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue