mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Temporarily disable queued and pendingDelivery message handling awaiting SDK fix
This commit is contained in:
parent
1501dae019
commit
4feae7fccd
2 changed files with 4 additions and 2 deletions
|
|
@ -2,6 +2,6 @@ import Foundation
|
||||||
|
|
||||||
public enum AppGitInfo {
|
public enum AppGitInfo {
|
||||||
public static let branch = "master"
|
public static let branch = "master"
|
||||||
public static let commit = "84ec09173"
|
public static let commit = "1501dae01"
|
||||||
public static let tag = "6.1.0-alpha"
|
public static let tag = "6.1.0-alpha"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -366,13 +366,15 @@ class ConversationViewModel: ObservableObject {
|
||||||
|
|
||||||
self.coreContext.doOnCoreQueue { _ in
|
self.coreContext.doOnCoreQueue { _ in
|
||||||
let chatMessageDelegate = ChatMessageDelegateStub(onMsgStateChanged: { (message: ChatMessage, msgState: ChatMessage.State) in
|
let chatMessageDelegate = ChatMessageDelegateStub(onMsgStateChanged: { (message: ChatMessage, msgState: ChatMessage.State) in
|
||||||
|
// TODO: Wait for SDK fix
|
||||||
|
/*
|
||||||
if msgState == .Queued || msgState == .PendingDelivery {
|
if msgState == .Queued || msgState == .PendingDelivery {
|
||||||
if let eventLog = message.eventLog {
|
if let eventLog = message.eventLog {
|
||||||
self.getNewMessages(eventLogs: [eventLog])
|
self.getNewMessages(eventLogs: [eventLog])
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
var statusTmp: Message.Status?
|
var statusTmp: Message.Status?
|
||||||
switch message.state {
|
switch message.state {
|
||||||
case .InProgress:
|
case .InProgress:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue