aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_task_runner.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-02-03 11:38:33 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 12:57:00 +0100
commit7639dcb4995b13c2756f9d59e0a67e22cba57a38 (patch)
treef38f36bfab6ab13fb89497fff1fb5e8d29e787ac /tests/test_task_runner.py
parent15cabf8ba1b9daa7e28475ea46cc5a8fd478e174 (diff)
downloadwee-slack-7639dcb4995b13c2756f9d59e0a67e22cba57a38.tar.gz
Correctly show reactions with more than 50 users in v3.0.0
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). This is the same fix as in commit 6b388cd9, but for version 3.0.0.
Diffstat (limited to 'tests/test_task_runner.py')
0 files changed, 0 insertions, 0 deletions