mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Change of message id used for condition in resetDisplayedChatRoom
This commit is contained in:
parent
be09800b5a
commit
b79541295f
1 changed files with 1 additions and 1 deletions
|
|
@ -1416,7 +1416,7 @@ class ConversationViewModel: ObservableObject {
|
|||
|
||||
if eventLogLast != nil {
|
||||
eventLogList.append(eventLogLast!)
|
||||
if !eventLogList.isEmpty && self.conversationMessagesSection[0].rows.first?.message.id != eventLogLast!.chatMessage?.messageId {
|
||||
if !eventLogList.isEmpty && (self.conversationMessagesSection[0].rows.first?.eventModel.eventLog.chatMessage?.messageId != eventLogLast!.chatMessage?.messageId) {
|
||||
self.getNewMessages(eventLogs: eventLogList)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue