fix: typo isAuthenticate -> isAuthenticated
This commit is contained in:
@ -44,7 +44,7 @@ export default class extends AbstractView {
|
||||
|
||||
async blockButton() {
|
||||
// Block option
|
||||
if (await client.isAuthenticate() === false)
|
||||
if (await client.isAuthenticated() === false)
|
||||
return;
|
||||
|
||||
if (client.me.id != this.user_id) {
|
||||
@ -72,7 +72,7 @@ export default class extends AbstractView {
|
||||
}
|
||||
|
||||
async friendButton() {
|
||||
if (await client.isAuthenticate() === false)
|
||||
if (await client.isAuthenticated() === false)
|
||||
return;
|
||||
|
||||
if (client.me.id != this.user_id) {
|
||||
|
Reference in New Issue
Block a user