67P / hyperchannel

Kosmos Chat for the Web
Mozilla Public License 2.0
20 stars 3 forks source link

Add inactive users to user list #98

Open raucao opened 7 years ago

raucao commented 7 years ago

I was thinking about how to best add inactive users to the user list, because when you don't need a bouncer anymore, you're hidden as a "member of the channel" otherwise. And the emptier a channel looks, the less likely are new people to idle and eventually engage in my experience. Options that came to mind:

  1. Store a list of users that have been seen while you were online yourself in your user RS. Show the ones not in attenance as inactive. Sync via RS to other devices. Periodically remove users that haven't been seen in a while.
  2. Store a list of users that have been seen in remote/Kosmos RS, e.g. as a new document in chat-messages from the RS logger script. Show the ones not in attenance as inactive. Periodically remove users that haven't been seen in a while.
  3. Dynamically show users that appear in the channel logs (but not in the current attendance list) as inactive ones.

I think option 3 is probably the easiest for now, while option 2 would be the most accurate, and option 1 the most decentralized. A mix of option 1 and 2 could also make sense.

(Of course this could be improved upon by only adding people that have been in the channel for a minimum amount of time or times, and with a thousand other filters.)