{"action":"created","issue":{"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/350","repository_url":"https://api.github.com/repos/matterhorn-chat/matterhorn","labels_url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/350/comments","events_url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/350/events","html_url":"https://github.com/matterhorn-chat/matterhorn/issues/350","id":289152434,"number":350,"title":"User management","user":{"login":"jtdaugherty","id":427221,"avatar_url":"https://avatars0.githubusercontent.com/u/427221?v=4","gravatar_id":"","url":"https://api.github.com/users/jtdaugherty","html_url":"https://github.com/jtdaugherty","followers_url":"https://api.github.com/users/jtdaugherty/followers","following_url":"https://api.github.com/users/jtdaugherty/following{/other_user}","gists_url":"https://api.github.com/users/jtdaugherty/gists{/gist_id}","starred_url":"https://api.github.com/users/jtdaugherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtdaugherty/subscriptions","organizations_url":"https://api.github.com/users/jtdaugherty/orgs","repos_url":"https://api.github.com/users/jtdaugherty/repos","events_url":"https://api.github.com/users/jtdaugherty/events{/privacy}","received_events_url":"https://api.github.com/users/jtdaugherty/received_events","type":"User","site_admin":false},"labels":[{"id":427623691,"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/labels/bug","name":"bug","color":"ee0701","default":true},{"id":427623693,"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":581699516,"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/labels/feature-parity","name":"feature-parity","color":"006b75","default":false},{"id":650022037,"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/labels/high-level","name":"high-level","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-01-17T06:06:35Z","updated_at":"2018-03-24T20:38:58Z","closed_at":null,"author_association":"OWNER","body":"This ticket is about a few things all at once:\r\n\r\n* Matterhorn has never correctly fetched all users. Historically we've asked for the first 10,000, but we never asked for more if there were any.\r\n* The switch to API V4 revealed that the new maximum number of users returned in a single request is 200, so on servers with more than 200 users, Matterhorn will never fetch them all at startup.\r\n* Matterhorn fetches unknown users when it encounters them, e.g. when someone posts a message. But it does this inefficiently when more than one message is being processed. It queues up one request per user rather than batching them.\r\n* More generally, the UI of showing all users isn't providing much value and Matterhorn should move toward a UI more consistent with that of the official web client, where a heuristic is used to determine which users to show in the sidebar.\r\n\r\nWe'll explore these issues and others related to them and figure out how we want to tackle this."},"comment":{"url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/comments/375923267","html_url":"https://github.com/matterhorn-chat/matterhorn/issues/350#issuecomment-375923267","issue_url":"https://api.github.com/repos/matterhorn-chat/matterhorn/issues/350","id":375923267,"user":{"login":"jtdaugherty","id":427221,"avatar_url":"https://avatars0.githubusercontent.com/u/427221?v=4","gravatar_id":"","url":"https://api.github.com/users/jtdaugherty","html_url":"https://github.com/jtdaugherty","followers_url":"https://api.github.com/users/jtdaugherty/followers","following_url":"https://api.github.com/users/jtdaugherty/following{/other_user}","gists_url":"https://api.github.com/users/jtdaugherty/gists{/gist_id}","starred_url":"https://api.github.com/users/jtdaugherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtdaugherty/subscriptions","organizations_url":"https://api.github.com/users/jtdaugherty/orgs","repos_url":"https://api.github.com/users/jtdaugherty/repos","events_url":"https://api.github.com/users/jtdaugherty/events{/privacy}","received_events_url":"https://api.github.com/users/jtdaugherty/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T20:38:58Z","updated_at":"2018-03-24T20:38:58Z","author_association":"OWNER","body":"(Let's also be sure to check on whether our work on this addresses the concerns raised in #376.)"}}
{"actor":{"display_login":"jtdaugherty"}}