fix condition
This commit is contained in:
@@ -204,8 +204,8 @@ class User extends SnowFlake{
|
|||||||
member.showEditProfile();
|
member.showEditProfile();
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
member=>{
|
function(member){
|
||||||
return !!member;
|
return member?.id===this.localuser.user.id;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
this.contextmenu.addbutton(
|
this.contextmenu.addbutton(
|
||||||
|
Reference in New Issue
Block a user