add comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
2e29a0857b
commit
bbf4d3e39f
1 changed files with 1 additions and 0 deletions
|
@ -917,6 +917,7 @@ module.exports = React.createClass({
|
||||||
ContentMessages.sendContentToRoom(
|
ContentMessages.sendContentToRoom(
|
||||||
file, this.state.room.roomId, MatrixClientPeg.get(),
|
file, this.state.room.roomId, MatrixClientPeg.get(),
|
||||||
).done(() => {
|
).done(() => {
|
||||||
|
// Send message_sent callback, for things like _checkIfAlone because after all a file is still a message.
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'message_sent',
|
action: 'message_sent',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue