impl of missing methods in DatabaseAttachmentProvider

This commit is contained in:
Brice
2021-01-19 11:39:45 +11:00
parent 883c71331b
commit 845ea16415
2 changed files with 12 additions and 19 deletions

View File

@@ -10,10 +10,6 @@ import java.io.InputStream
interface MessageDataProvider {
//fun getAttachment(attachmentId: Long): SignalServiceAttachmentStream?
fun getAttachmentPointer(attachmentID: String): SignalServiceAttachmentPointer?
fun getMessageID(serverID: Long): Long?
fun deleteMessage(messageID: Long)
@@ -32,7 +28,7 @@ interface MessageDataProvider {
// Quotes
fun getMessageForQuote(timestamp: Long, author: Address): Long?
fun getAttachmentsWithLinkPreviewFor(messageID: Long): List<Attachment>
fun getAttachmentsAndLinkPreviewFor(messageID: Long): List<Attachment>
fun getMessageBodyFor(messageID: Long): String
}