########################################################################################## LOC-19: List of users in room ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Open Resolution: Unresolved Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Client - Server Targeted for fix in version: - V0.0.3 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== So that users can see who might see what they're saying, the client should display a roster of users currently in the room (i.e. any the server considers active). The API will therefore need an action to list active users, and the client will need a new pane (which unfortunately means getting hands dirty with urwid). Will need to put some thought into how often it's refreshed. Although it _could_ just be updated when a new user joins, that'd mean there's a remote possibility of a user not having a fresh list if they didn't receive the message (because their connectivity dropped for long enough for the message to be purged from the queue: if Bob joins, 10 seconds later Alice joins, then Carol only needs to have lost connectivity for ~21 seconds to miss the notification of Bob joining). Conversely, don't necessarily want to send the list with every pollMsg response. Timing is definitely something to figure out, the rest should be relatively simple to implement. ----------------------------------------------------------------------------------------- Issue Relations ================ - blocks LOC-20: Re-Key Support - blocks LOC-25: Encrypt direct messages with a per-user key ----------------------------------------------------------------------------------------- Activity ==========