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

4.0.0-rc13.11

* Added: Debug Log generation and easy uploading for issue reports.
* Fixed: Bug with chat lines not having a state causing rendering to crash.
* Fixed: Add an error boundary around the custom FFZ Emote Menu to catch errors, displaying feedback and sending error reports rather than silently failing.
* Fixed: Typo in Fine when logging errors.
* Changed: Update chat types with the latest values from Twitch's source.
* Changed: Update the GitHub issue template with instructions on uploading logs from v4.
This commit is contained in:
SirStendec 2018-12-03 18:08:32 -05:00
parent cb2f2b19ee
commit d6504757b3
18 changed files with 413 additions and 99 deletions

View file

@ -209,7 +209,7 @@ export default class ChatLine extends Module {
const old_render = cls.prototype.render;
cls.prototype.shouldComponentUpdate = function(props, state) {
const show = state.alwaysShowMessage || ! props.message.deleted,
const show = state && state.alwaysShowMessage || ! props.message.deleted,
old_show = this._ffz_show;
// We can't just compare props.message.deleted to this.props.message.deleted
@ -256,7 +256,7 @@ export default class ChatLine extends Module {
show = true;
show_class = msg.deleted;
} else {
show = this.state.alwaysShowMessage || ! msg.deleted;
show = this.state && this.state.alwaysShowMessage || ! msg.deleted;
show_class = false;
}