Skip to content

Commit b0fc395

Browse files
docs: Update comment
1 parent 0b6bef8 commit b0fc395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/infomaniak/mail/data/cache/mailboxContent/ThreadController.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ class ThreadController @Inject constructor(
248248
withSnooze: Boolean,
249249
realm: TypedRealm,
250250
): RealmQuery<Thread> {
251-
// Checking for snoozeEndDate and snoozeAction on top of _snoozeState mimics the behavior on the web and helps avoid
252-
// displaying threads that are in an incoherent state on the API
251+
// Checking for snoozeEndDate and snoozeAction on top of _snoozeState mimics the webmail's behavior
252+
// and helps to avoid displaying threads that are in an incoherent state on the API
253253
val isSnoozedState = "_snoozeState == $1 AND snoozeEndDate != null AND snoozeAction != null"
254254
val snoozeQuery = if (withSnooze) isSnoozedState else "NOT($isSnoozedState)"
255255

0 commit comments

Comments
 (0)