@@ -166,7 +166,7 @@ export default {
let body = _.get(message, 'body');
if (body) {
body = JSON.parse(body);
- if (body.switchrole === 'anchor') {
+ if (body.switchrole === 'anchor' && body.userid === this.user.uid) {
this.switchbtn = true;
} else {
this.switchbtn = false;