mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-29 22:18:31 +00:00
4.0.0-rc12.13
* Fixed: Issue where settings context was not being set up correctly in pop-out chat. * Fixed: Chat Width setting on various channel sub-pages on the old layout. * Changed: Limit emote menu subscription benefit requests to 75 items per request due to issues with Twitch's GraphQL API periodically returning errors when requesting 100 items. * Changed: Set the API stress testing experiment to 100% roll-out.
This commit is contained in:
parent
20ade3e5a4
commit
0090e43316
6 changed files with 222 additions and 344 deletions
|
@ -945,6 +945,22 @@ export default class ChatHook extends Module {
|
|||
return;
|
||||
|
||||
this.updateRoomBitsConfig(chat, props.bitsConfig);
|
||||
|
||||
// TODO: Check if this is the room for the current channel.
|
||||
|
||||
this.settings.updateContext({
|
||||
moderator: props.isCurrentUserModerator,
|
||||
chatHidden: props.isHidden
|
||||
});
|
||||
|
||||
this.chat.context.updateContext({
|
||||
moderator: props.isCurrentUserModerator,
|
||||
channel: props.channelLogin && props.channelLogin.toLowerCase(),
|
||||
channelID: props.channelID,
|
||||
ui: {
|
||||
theme: props.theme
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue