Skip to content

Commit

Permalink
use VIP tag rather than (overridable) badge for isVip
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fischer committed May 1, 2023
1 parent 855721b commit 92f8cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chat/src/ChatUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class ChatUser {
* Whether the user is a VIP in the channel.
*/
get isVip(): boolean {
return this.badges.has('vip');
return this._userData.has('vip');
}

/**
Expand Down

0 comments on commit 92f8cf9

Please sign in to comment.