diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-25 01:17:39 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-25 01:17:39 +0200 |
commit | 6b388cd9aea6b091e16bdd22d0a28d9f1931b284 (patch) | |
tree | 64c73dac45b8307372235731cf73527e5eaaab82 /docs/contributing.md | |
parent | cf244bb2b9571b64bdd9b9e9ec3ac4e74a213190 (diff) | |
download | wee-slack-6b388cd9aea6b091e16bdd22d0a28d9f1931b284.tar.gz |
Correctly show reactions with more than 50 users
If a reaction has more than 50 users, the list of users will be cropped
to just 50 users. This made the counts wrong since we used the number of
users rather than the count property. Fix it by using the count property
instead and adding "and others" to the list of users if
show_reaction_nicks is enabled (the same as the Slack client shows when
you hover over the reaction).
Diffstat (limited to 'docs/contributing.md')
0 files changed, 0 insertions, 0 deletions