feat: add in remove attachments but not link previews

This commit is contained in:
0x330a
2022-11-23 14:02:51 +11:00
parent e12568673f
commit 75a10f71c3
7 changed files with 89 additions and 32 deletions

View File

@@ -155,7 +155,8 @@ interface StorageProtocol {
fun getMessageCount(threadID: Long): Long
fun setThreadPinned(threadID: Long, isPinned: Boolean)
fun isThreadPinned(threadID: Long): Boolean
fun clearMessages(threadID: Long): Boolean
fun clearMessages(threadID: Long, fromUser: Address? = null): Boolean
fun clearMedia(threadID: Long, fromUser: Address? = null): Boolean
// Contacts
fun getContactWithSessionID(sessionID: String): Contact?