add comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-04-29 00:34:27 +01:00
parent 2e29a0857b
commit bbf4d3e39f
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -917,6 +917,7 @@ module.exports = React.createClass({
ContentMessages.sendContentToRoom(
file, this.state.room.roomId, MatrixClientPeg.get(),
).done(() => {
// Send message_sent callback, for things like _checkIfAlone because after all a file is still a message.
dis.dispatch({
action: 'message_sent',
});