mute notifications for ntfy

This commit is contained in:
althafvly 2024-07-03 19:50:14 +05:30
parent 2def9da084
commit bcec43769b
2 changed files with 2 additions and 2 deletions

View file

@ -217,7 +217,7 @@ class MainActivity : AppCompatActivity(), ActionMode.Callback, AddFragment.Subsc
topic = defaultTopic, topic = defaultTopic,
instant = true, instant = true,
dedicatedChannels = false, dedicatedChannels = false,
mutedUntil = 0, mutedUntil = Repository.MUTED_UNTIL_FOREVER,
minPriority = Repository.MIN_PRIORITY_USE_GLOBAL, minPriority = Repository.MIN_PRIORITY_USE_GLOBAL,
autoDelete = Repository.AUTO_DELETE_USE_GLOBAL, autoDelete = Repository.AUTO_DELETE_USE_GLOBAL,
insistent = Repository.INSISTENT_MAX_PRIORITY_USE_GLOBAL, insistent = Repository.INSISTENT_MAX_PRIORITY_USE_GLOBAL,

View file

@ -84,7 +84,7 @@ class BroadcastReceiver : android.content.BroadcastReceiver() {
topic = topic, topic = topic,
instant = true, // No Firebase, always instant! instant = true, // No Firebase, always instant!
dedicatedChannels = false, dedicatedChannels = false,
mutedUntil = 0, mutedUntil = Repository.MUTED_UNTIL_FOREVER,
minPriority = Repository.MIN_PRIORITY_USE_GLOBAL, minPriority = Repository.MIN_PRIORITY_USE_GLOBAL,
autoDelete = Repository.AUTO_DELETE_USE_GLOBAL, autoDelete = Repository.AUTO_DELETE_USE_GLOBAL,
insistent = Repository.INSISTENT_MAX_PRIORITY_USE_GLOBAL, insistent = Repository.INSISTENT_MAX_PRIORITY_USE_GLOBAL,