Add a way to clear the cache for a specific room.

This commit is contained in:
Benoit Marty 2024-12-12 11:58:46 +01:00
parent 0d2efe5ffa
commit 4f1c745fc8
8 changed files with 45 additions and 1 deletions

View file

@ -232,6 +232,11 @@ interface MatrixRoom : Closeable {
*/
suspend fun setUnreadFlag(isUnread: Boolean): Result<Unit>
/**
* Clear the event cache storage for the current room.
*/
suspend fun clearEventCacheStorage(): Result<Unit>
/**
* Share a location message in the room.
*