diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2018-08-19 21:30:12 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-08-20 00:43:08 +0200 |
commit | c0419e6a95552fcb8e0e4c5f42360f6cd0de706e (patch) | |
tree | b84484de4bb685b3ab15a529e84a6a4b2c83618d /Dockerfile | |
parent | 51c2e769de9b76fc8ca6ed413cee77f878ffbcf7 (diff) | |
download | wee-slack-c0419e6a95552fcb8e0e4c5f42360f6cd0de706e.tar.gz |
Don't render messages surrounded by _ as actions
Even though me_messages and messages surrounded by underlines render
equally in the official client, it is two different types of messages.
Converting messages surrounded by underlines to me_messages causes
problems when editing, because the underlines will be removed from the
message so it won't be shown as an action anymore.
The official clients sends me_messages as that subtype, and after the
previous commit, wee-slack also does this, so there is no reason for
this conversion anymore.
Since subtype isn't changed in SlackMessage anymore, we can use the
subtype variable we have, and the comment is not needed anymore.
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions