You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
@@ -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',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user