forked from mirrors/linphone-iphone
Add nil check for self.displayedConversation in ComputeComposingLabel
This commit is contained in:
parent
ec3053a780
commit
a5e822c94d
1 changed files with 40 additions and 38 deletions
|
|
@ -1862,6 +1862,7 @@ class ConversationViewModel: ObservableObject {
|
|||
}
|
||||
|
||||
func computeComposingLabel() {
|
||||
if self.displayedConversation != nil {
|
||||
let composing = self.displayedConversation!.chatRoom.isRemoteComposing
|
||||
|
||||
if !composing {
|
||||
|
|
@ -1908,6 +1909,7 @@ class ConversationViewModel: ObservableObject {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func getChatRoomWithStringAddress(conversationsList: [ConversationModel], stringAddr: String) {
|
||||
CoreContext.shared.doOnCoreQueue { _ in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue