mute notifications for ntfy
This commit is contained in:
parent
2def9da084
commit
bcec43769b
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue