refactor: prevent calls from non hasSent participants

This commit is contained in:
jubb
2021-12-07 16:09:58 +11:00
parent 75efd7b21a
commit 522c5cd520
6 changed files with 25 additions and 18 deletions

View File

@@ -155,4 +155,5 @@ interface StorageProtocol {
fun persist(message: VisibleMessage, quotes: QuoteModel?, linkPreview: List<LinkPreview?>, groupPublicKey: String?, openGroupID: String?, attachments: List<Attachment>): Long?
fun insertDataExtractionNotificationMessage(senderPublicKey: String, message: DataExtractionNotificationInfoMessage, sentTimestamp: Long)
fun insertCallMessage(senderPublicKey: String, callMessageType: CallMessageType, sentTimestamp: Long)
fun conversationHasOutgoing(userPublicKey: String): Boolean
}