mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Remove SDK message queued workaround
This commit is contained in:
parent
1dbbe6a53d
commit
61931138b2
3 changed files with 2 additions and 5 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 = "4c45a9bb1"
|
public static let commit = "1dbbe6a53"
|
||||||
public static let tag = "6.1.0-alpha"
|
public static let tag = "6.1.0-alpha"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -366,15 +366,12 @@ 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:
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@
|
||||||
"location" : "https://gitlab.linphone.org/BC/public/linphone-sdk-swift-ios.git",
|
"location" : "https://gitlab.linphone.org/BC/public/linphone-sdk-swift-ios.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"branch" : "alpha",
|
"branch" : "alpha",
|
||||||
"revision" : "e82eb03f276a3c6f4b9b4d87ca7faff5f5d42b8a"
|
"revision" : "81cb4712da29fffda8d7fb673685f6add05cf325"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue