Gift Badges: A few tweaks
This commit is contained in:
parent
0a0b5a7bfe
commit
a114e4e210
11 changed files with 134 additions and 124 deletions
|
@ -98,7 +98,9 @@ export class ViewSyncs extends Collection {
|
|||
message.set({
|
||||
giftBadge: {
|
||||
...giftBadge,
|
||||
state: GiftBadgeStates.Redeemed,
|
||||
state: isIncoming(message.attributes)
|
||||
? GiftBadgeStates.Redeemed
|
||||
: GiftBadgeStates.Opened,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue