From da8af40e4ff252a4067bc65f8700f0c5c69b8d2f Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Thu, 2 Jul 2026 11:18:05 -0400 Subject: [PATCH] Allow 'next monday' schedule for all users. --- .../conversation/ScheduleMessageContextMenu.kt | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/ScheduleMessageContextMenu.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/ScheduleMessageContextMenu.kt index 73db499666..e393add3e7 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/ScheduleMessageContextMenu.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/ScheduleMessageContextMenu.kt @@ -8,7 +8,6 @@ import org.thoughtcrime.securesms.R import org.thoughtcrime.securesms.components.menu.ActionItem import org.thoughtcrime.securesms.components.menu.SignalContextMenu import org.thoughtcrime.securesms.util.DateUtils -import org.thoughtcrime.securesms.util.RemoteConfig import org.thoughtcrime.securesms.util.toLocalDateTime import org.thoughtcrime.securesms.util.toMillis import java.time.DayOfWeek @@ -73,15 +72,13 @@ class ScheduleMessageContextMenu { } } - if (RemoteConfig.internalUser) { - val now = currentTimeMs.toLocalDateTime() - if (now.dayOfWeek == DayOfWeek.FRIDAY || now.dayOfWeek == DayOfWeek.SATURDAY) { - val nextMonday = now.with(TemporalAdjusters.next(DayOfWeek.MONDAY)) - .withHour(8) - .withMinute(0) - .withSecond(0) - timestampList += nextMonday.toMillis() - } + val now = currentTimeMs.toLocalDateTime() + if (now.dayOfWeek == DayOfWeek.FRIDAY || now.dayOfWeek == DayOfWeek.SATURDAY) { + val nextMonday = now.with(TemporalAdjusters.next(DayOfWeek.MONDAY)) + .withHour(8) + .withMinute(0) + .withSecond(0) + timestampList += nextMonday.toMillis() } timestampList += -1