mirror of https://github.com/oxen-io/session-ios
Merge branch 'master' of github.com:loki-project/loki-messenger-ios
commit
38d2fbfbeb
@ -1 +1 @@
|
|||||||
Subproject commit aa0882607c603f6ef576c9538e2f6481d09fd0ce
|
Subproject commit 93c439b844c98a76a0785c5f9529966c8c076f18
|
@ -0,0 +1,17 @@
|
|||||||
|
public extension TSOutgoingMessage {
|
||||||
|
|
||||||
|
/// Loki: This is a message used to establish sessions
|
||||||
|
@objc public static func emptyOutgoingMessage(inThread thread: TSThread) -> TSOutgoingMessage {
|
||||||
|
return TSOutgoingMessage(outgoingMessageWithTimestamp: NSDate.ows_millisecondTimeStamp(),
|
||||||
|
in: thread,
|
||||||
|
messageBody: "",
|
||||||
|
attachmentIds: [],
|
||||||
|
expiresInSeconds: 0,
|
||||||
|
expireStartedAt: 0,
|
||||||
|
isVoiceMessage: false,
|
||||||
|
groupMetaMessage: .unspecified,
|
||||||
|
quotedMessage: nil,
|
||||||
|
contactShare: nil,
|
||||||
|
linkPreview: nil)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue