restrict to m.text for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
90f9badbf3
commit
665ddccb0d
4 changed files with 9 additions and 11 deletions
|
@ -896,10 +896,8 @@ module.exports = React.createClass({
|
|||
return;
|
||||
}
|
||||
|
||||
const baseContent = Reply.getMRelatesTo(RoomViewStore.getQuotingEvent());
|
||||
|
||||
ContentMessages.sendContentToRoom(
|
||||
file, this.state.room.roomId, MatrixClientPeg.get(), baseContent,
|
||||
file, this.state.room.roomId, MatrixClientPeg.get(),
|
||||
).done(() => {
|
||||
dis.dispatch({
|
||||
action: 'message_sent',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue