Merge branch 'develop' into matthew/roomsettings2

This commit is contained in:
Matthew Hodgson 2016-01-14 16:50:12 +00:00
commit 06ecf78e5f
2 changed files with 39 additions and 3 deletions

View file

@ -220,6 +220,12 @@ module.exports = React.createClass({
break;
case 'user_activity':
case 'user_activity_end':
// we could treat user_activity_end differently and not
// send receipts for messages that have arrived between
// the actual user activity and the time they stopped
// being active, but let's see if this is actually
// necessary.
this.sendReadReceipt();
break;
}