mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-17 11:30:54 +00:00
Merge 3cccebab17
into 5ce9e49496
This commit is contained in:
commit
c32c050941
1 changed files with 4 additions and 2 deletions
|
@ -533,7 +533,7 @@ export default class VideoChatHook extends Module {
|
||||||
if ( comment._ffz_message )
|
if ( comment._ffz_message )
|
||||||
return comment._ffz_message;
|
return comment._ffz_message;
|
||||||
|
|
||||||
const room = this.active_room || this.chat.getRoom(comment.channelId, null, true, true),
|
const room = this.chat.getRoom(this.channelId, null, true, true),
|
||||||
params = comment.message.userNoticeParams,
|
params = comment.message.userNoticeParams,
|
||||||
msg_id = params && params['msg-id'];
|
msg_id = params && params['msg-id'];
|
||||||
|
|
||||||
|
@ -548,7 +548,7 @@ export default class VideoChatHook extends Module {
|
||||||
type: author.type
|
type: author.type
|
||||||
},
|
},
|
||||||
roomLogin: room && room.login,
|
roomLogin: room && room.login,
|
||||||
roomID: room && room.id || comment.channelId,
|
roomID: room && room.id,
|
||||||
ffz_badges: this.chat.badges.getBadges(author.id, author.login, room?.id, room?.login),
|
ffz_badges: this.chat.badges.getBadges(author.id, author.login, room?.id, room?.login),
|
||||||
badges: comment.userBadges,
|
badges: comment.userBadges,
|
||||||
messageParts: comment.message.tokens,
|
messageParts: comment.message.tokens,
|
||||||
|
@ -628,6 +628,8 @@ export default class VideoChatHook extends Module {
|
||||||
|
|
||||||
this.updateRoomBadges(chat, get('data.video.owner.broadcastBadges', props));
|
this.updateRoomBadges(chat, get('data.video.owner.broadcastBadges', props));
|
||||||
this.updateRoomBitsConfig(chat, props.bitsConfig);
|
this.updateRoomBitsConfig(chat, props.bitsConfig);
|
||||||
|
|
||||||
|
this.channelId = props.data.video.owner.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue