randomouscrap98 / contentapi

A generic content system to make some kinda standard websites
GNU General Public License v3.0
9 stars 2 forks source link

Auto watch clear configuration for websockets #119

Open randomouscrap98 opened 2 years ago

randomouscrap98 commented 2 years ago

Have a way, like setting the userlist, to say which rooms you'd like your watches cleared on every message. Upon setting, do most of the lookup required (such as finding the watch ids). Add it to some global list for the user, so there aren't duplicates from having multiple connections. Then... hm but when would it happen? I'll have to think about this, if you call the clear on message receive, such as in the live updates controller, then yes it will be called multiple times.

randomouscrap98 commented 2 years ago

ALSO: make sure you build that into the builtin chat frontend