fix condition

This commit is contained in:
MathMan05 2024-12-13 22:42:42 -06:00
parent eddb92abe8
commit af7d331ac5

View file

@ -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(