1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 18:26:57 +00:00

4.0.0-rc20.2

* Fixed: In-Line Chat Actions appearing when Visibilty: Mod Icons is set to True while in a channel where the user is not a moderator.
* Fixed: When looking up badge data and data has not been pulled from chat yet, try pulling data from chat immediately.
This commit is contained in:
SirStendec 2019-05-08 15:39:14 -04:00
parent 76c2831882
commit a64b3cff45
4 changed files with 18 additions and 1 deletions

View file

@ -604,6 +604,14 @@ export default class ChatHook extends Module {
}
tryUpdateBadges() {
this.log.debug('Trying to update badge data from the chat container.');
const inst = this.ChatContainer.first;
if ( inst )
this.containerUpdated(inst, inst.props);
}
closeRoomPicker(inst) { // eslint-disable-line class-methods-use-this
inst.closeRoomPicker();
}