Opt-in for push notifications (only push when app is open or provide disable function)
Mattermost is great while I am at work, even when I'm away from my desk I can get push notifications. And with the related issues
implemented, everything is fine while I am at work. BUT:
When I'm away from work, on vacation or just in the pub, I don't want to get push notifications. So I don't like that Mattermost will receive and display push notifications whether the app is open or not. I would like to opt-in to push notifications and not have Mattermost listen/display notifications just because it is installed on Android.
So I would like to have push notifications delivered to my Android App if and only if
a) the Mattermost App is open in Android (i.e. it will show up in the task list, it doesn't need to be visible/active on the screen) AND
b) I am NOT in DND, AND
c) I am NOT online at a different machine.
Of course, a) and c) need to be optional, as there are use cases where you don't want to miss any message. If it was a work phone, I would probably like to get all messages.
Switching push notifications off completely is not a solution to this problem as I will not have the option to receive messages when I want to. Setting my status to DND all the time isn't an option either. Apparently it's just too offensive for the taste of my collegues. It should work with "away". I like the setting "away or offline". Just not when I am "the other kind of away".
So currently I have to remove/install Mattermost every time I want to opt in/out of push.
So this is a feature request for my use case where I want to opt-in into
push notifications by simply opening the Mattermost app (slightly worse alternative: having the option to deactivate push in the app).