You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stream-chat-android-offline/api/stream-chat-android-offline.api
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,7 @@ public final class io/getstream/chat/android/offline/repository/domain/message/i
107
107
public final class io/getstream/chat/android/offline/repository/domain/message/internal/MessageDao_Impl : io/getstream/chat/android/offline/repository/domain/message/internal/MessageDao {
108
108
public fun <init> (Landroidx/room/RoomDatabase;)V
109
109
public fun deleteAll (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
110
+
public fun deleteAllDrafts (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
110
111
public fun deleteAttachments (Ljava/util/List;)V
111
112
public fun deleteAttachmentsChunked (Ljava/util/List;)V
112
113
public fun deleteChannelMessagesBefore (Ljava/lang/String;Ljava/util/Date;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Copy file name to clipboardExpand all lines: stream-chat-android-offline/src/main/java/io/getstream/chat/android/offline/repository/domain/message/internal/DatabaseMessageRepository.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -258,6 +258,7 @@ internal class DatabaseMessageRepository(
Copy file name to clipboardExpand all lines: stream-chat-android-offline/src/main/java/io/getstream/chat/android/offline/repository/domain/message/internal/MessageDao.kt
Copy file name to clipboardExpand all lines: stream-chat-android-offline/src/test/java/io/getstream/chat/android/offline/repository/MessageRepositoryTests.kt
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -219,4 +219,26 @@ internal class MessageRepositoryTests {
219
219
// then
220
220
verify(messageDao).deleteMessages(messageIds)
221
221
}
222
+
223
+
@Test
224
+
fun`when calling clear, then all related tables are cleared`() = runTest(testDispatcher) {
0 commit comments