Fix clicking on the left side of a conversation not marking it as read (#11041)

lolsob-rspec
ThibG 2019-06-10 19:27:10 +02:00 committed by Eugen Rochko
parent cf7950977a
commit 17ee16cbfe
1 changed files with 5 additions and 0 deletions

View File

@ -171,6 +171,11 @@ class Status extends ImmutablePureComponent {
}
handleExpandClick = (e) => {
if (this.props.onClick) {
this.props.onClick();
return;
}
if (e.button === 0) {
if (!this.context.router) {
return;