Handle non-m.room.message event types.

This commit is contained in:
Richard Lewis 2018-01-17 17:19:20 +00:00
parent b6f85fbf92
commit f8d7ab10fa
2 changed files with 3 additions and 2 deletions

View file

@ -450,7 +450,7 @@ module.exports = React.createClass({
if (prevEvent !== null
&& prevEvent.sender && mxEv.sender
&& mxEv.sender.userId === prevEvent.sender.userId
&& mxEv.getType() == prevEvent.getType()) {
&& Boolean(mxEv.getContent().body) == Boolean(prevEvent.getContent().body)) {
continuation = true;
}