Open kewalsk opened 7 years ago
@kewalsk, I don't plan to add mute/unmute functions for now.
Then I will do it myself. It seems to be pretty strightforward.
There will be not only API call, because notifications in OpenPeriscope are implemented by periodical checking new broadcasts. If you call mute
API method, you will stop receiving push notifications on mobile devices, but not in OpenPeriscope. i.e. you need to store list of muted users, and to exclude them from followingBroadcastFeed
response.
So the notifications in OpenPeriscope will be sent even if the user is muted from mobile device? Checking is_muted just before creating Notification object could be solution but it requires additional api call.
Yes, Periscope uses GCM but I don't know how to implement it on JS for now
Did you consider to add the information if the user is muted (is_muted) and to add function buttons to mute/unmute?