mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03:00
Don't update presence status if the user is clicks twice
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
deb50b2d43
commit
ef5fc7347a
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ const PresenceContextMenuOption = React.createClass({
|
|||
},
|
||||
|
||||
onClick: function() {
|
||||
if (this.isCurrent) return;
|
||||
this.props.onChange(this.props.forStatus);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue