mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-11 00:20:54 +00:00
4.20.52
* Fixed: Bug with room API handling that prevented the application of channel-specific user badges. * Fixed: Issue applying username color adjustments with certain background colors. (Closes #945) * Fixed: Automatic Theater Mode applying incorrectly on user sub-pages. (Closes #942)
This commit is contained in:
parent
5e5b328076
commit
b098e59f4c
4 changed files with 23 additions and 13 deletions
|
@ -307,7 +307,7 @@ export default class Room {
|
|||
this.manager.emotes.loadSetData(set_id, data.sets[set_id]);
|
||||
|
||||
|
||||
const badges = data.user_badges;
|
||||
const badges = d.user_badges;
|
||||
if ( badges )
|
||||
for(const badge_id in badges)
|
||||
if ( has(badges, badge_id) )
|
||||
|
@ -315,8 +315,8 @@ export default class Room {
|
|||
this.getUser(undefined, user).addBadge('ffz', badge_id);
|
||||
|
||||
|
||||
if ( data.css )
|
||||
this.style.set('css', data.css);
|
||||
if ( d.css )
|
||||
this.style.set('css', d.css);
|
||||
else
|
||||
this.style.delete('css');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue