mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 02:18:34 +00:00
minor fix after merging
This commit is contained in:
parent
80fa37e1a7
commit
2dcbcee66c
@ -81,7 +81,7 @@ interface StorageProtocol {
|
|||||||
fun getReceivedMessageTimestamps(): Set<Long>
|
fun getReceivedMessageTimestamps(): Set<Long>
|
||||||
fun addReceivedMessageTimestamp(timestamp: Long)
|
fun addReceivedMessageTimestamp(timestamp: Long)
|
||||||
// Returns the IDs of the saved attachments.
|
// Returns the IDs of the saved attachments.
|
||||||
fun persist(attachments: List<Attachment>): List<String>
|
fun persist(attachments: List<Attachment>): List<Long>
|
||||||
fun insertMessageOutbox(message: Message)
|
fun insertMessageOutbox(message: Message)
|
||||||
fun insertMessageInbox(message: Message)
|
fun insertMessageInbox(message: Message)
|
||||||
fun setErrorMessage(message: Message, error: Exception)
|
fun setErrorMessage(message: Message, error: Exception)
|
||||||
|
@ -91,7 +91,7 @@ fun MessageReceiver.handleVisibleMessage(message: VisibleMessage, proto: SignalS
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
val attachmentIDs = storage.persist(attachments)
|
val attachmentIDs = storage.persist(attachments)
|
||||||
message.attachmentIDs = attachmentIDs as ArrayList<String>
|
message.attachmentIDs = attachmentIDs as ArrayList<Long>
|
||||||
var attachmentsToDownload = attachmentIDs
|
var attachmentsToDownload = attachmentIDs
|
||||||
// Update profile if needed
|
// Update profile if needed
|
||||||
val newProfile = message.profile
|
val newProfile = message.profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user