mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 14:08:26 +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 addReceivedMessageTimestamp(timestamp: Long)
|
||||
// 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 insertMessageInbox(message: Message)
|
||||
fun setErrorMessage(message: Message, error: Exception)
|
||||
|
@ -91,7 +91,7 @@ fun MessageReceiver.handleVisibleMessage(message: VisibleMessage, proto: SignalS
|
||||
}
|
||||
}
|
||||
val attachmentIDs = storage.persist(attachments)
|
||||
message.attachmentIDs = attachmentIDs as ArrayList<String>
|
||||
message.attachmentIDs = attachmentIDs as ArrayList<Long>
|
||||
var attachmentsToDownload = attachmentIDs
|
||||
// Update profile if needed
|
||||
val newProfile = message.profile
|
||||
|
Loading…
x
Reference in New Issue
Block a user