Add redundancy to prevent stored nulls from causing errors.
This commit is contained in:
parent
ad453555b9
commit
c9e937c41c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ export class Invite extends EventEmitter {
|
|||
|
||||
/** @see BaseRoom.avatarColorId */
|
||||
get avatarColorId() {
|
||||
return this._inviteData.avatarColorId;
|
||||
return this._inviteData.avatarColorId || this.id;
|
||||
}
|
||||
|
||||
get timestamp() {
|
||||
|
|
Reference in a new issue