Add workaround for Signal bug

pull/16/head
Niels Andriesse 6 years ago
parent 50f31840bc
commit cd03dfd4c6

@ -3,6 +3,7 @@
/// Loki: This is a message used to establish sessions
@objc public static func createEmptyOutgoingMessage(inThread thread: TSThread) -> EphemeralMessage {
return EphemeralMessage(in: thread, messageBody: "", attachmentId: nil)
return EphemeralMessage(outgoingMessageWithTimestamp: NSDate.ows_millisecondTimeStamp(), in: thread, messageBody: "", attachmentIds: [], expiresInSeconds: 0,
expireStartedAt: 0, isVoiceMessage: false, groupMetaMessage: .unspecified, quotedMessage: nil, contactShare: nil, linkPreview: nil)
}
}

Loading…
Cancel
Save