Don't update presence status if the user is clicks twice
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@@ -34,6 +34,7 @@ const PresenceContextMenuOption = React.createClass({
|
||||
},
|
||||
|
||||
onClick: function() {
|
||||
if (this.isCurrent) return;
|
||||
this.props.onChange(this.props.forStatus);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user