aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_slackdmchannel.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2018-08-20 22:39:50 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2018-08-20 22:48:35 +0200
commitbed3249086f7982281d3919b17c3ad74eff54b67 (patch)
treeee27cbc2f0f139680df2c36469599dc54fef2af9 /_pytest/test_slackdmchannel.py
parente40779ebf92071cb466c1e1f35928139b7c98652 (diff)
downloadwee-slack-bed3249086f7982281d3919b17c3ad74eff54b67.tar.gz
Fix missing nick for own messages
This was introduced in commit 51c2e76 because I removed user from the request believing it to be unnecessary. I think the reason I didn't experience this problem after removing it (I'm pretty sure I tested it), is that we might receive both a message event and a request response for the message, and we use the first of those that arrives. The message event will always contain the user, while the request response will not (but it's passed along if provided as in this commit). Fixes #612
Diffstat (limited to '_pytest/test_slackdmchannel.py')
0 files changed, 0 insertions, 0 deletions