aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_processreply.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-10-03 17:12:28 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-10-03 17:44:10 +0200
commitd3da855bb57f9cf795cab8626dd7f9b089232212 (patch)
treeaac20eee20facd935dad59115aef57b9e6315054 /_pytest/test_processreply.py
parent335040b3df59ed29b1e53c3dade32d4362c2f191 (diff)
downloadwee-slack-d3da855bb57f9cf795cab8626dd7f9b089232212.tar.gz
Use max of submessages and replies for number_of_replies
When new replies come in over websocket, we don't update the message_json of the parent message with the new replies, we just append the new message to the submessages list. Therefore, the number_of_replies function has to check both of these and take the max. Fixes #722
Diffstat (limited to '_pytest/test_processreply.py')
0 files changed, 0 insertions, 0 deletions