aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_unfurl.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2018-02-03 00:21:17 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2018-02-03 00:35:09 +0100
commitc9d4238ad8e141591d8d3a70416a211422a85ac9 (patch)
treeb90826c1337dfa33dd310923058ab3978cb2465a /_pytest/test_unfurl.py
parentadd3dbd04576632a1d7c7bdbf695999ff87303cf (diff)
downloadwee-slack-c9d4238ad8e141591d8d3a70416a211422a85ac9.tar.gz
Don't add deleted users to the nicklist
This check was done when generating complete nicklist, but not when updating a single user. Deleted users are still part of the member list of a channel, if they don't leave the channel first. This caused a deleted user to be inserted into the nicklist when processing a joined channel message or when receiving a presence change for that user. When investigating this, I saw that we still receive presence change events for deleted users if we subscribe to them. We might want to filter out the deleted users when generating the list of users to subscribe to.
Diffstat (limited to '_pytest/test_unfurl.py')
0 files changed, 0 insertions, 0 deletions