mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.48.1
* Fixed: Certain chat-related features no longer working due to a minor change in Twitch's JS application causing FrankerFaceZ to be unable to locate a core chat component.
This commit is contained in:
parent
c4b16a4910
commit
eea9d51bdc
2 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.48.0",
|
||||
"version": "4.48.1",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -192,7 +192,7 @@ export default class ChatHook extends Module {
|
|||
|
||||
this.ChatService = this.fine.define(
|
||||
'chat-service',
|
||||
n => n.join && n.connectHandlers,
|
||||
n => n.join && n.client && n.props.setChatConnectionAPI,
|
||||
Twilight.CHAT_ROUTES
|
||||
);
|
||||
|
||||
|
@ -1251,7 +1251,7 @@ export default class ChatHook extends Module {
|
|||
if ( state )
|
||||
this.updateChatState(state);
|
||||
|
||||
inst.connectHandlers();
|
||||
inst.addEventListeners();
|
||||
|
||||
inst.props.setChatConnectionAPI({
|
||||
sendMessage: inst.sendMessage,
|
||||
|
@ -2209,7 +2209,7 @@ export default class ChatHook extends Module {
|
|||
wrapChatService(cls) {
|
||||
const t = this,
|
||||
old_mount = cls.prototype.componentDidMount,
|
||||
old_handler = cls.prototype.connectHandlers;
|
||||
old_handler = cls.prototype.addEventListeners;
|
||||
|
||||
cls.prototype._ffz_was_here = true;
|
||||
|
||||
|
@ -2295,7 +2295,7 @@ export default class ChatHook extends Module {
|
|||
}
|
||||
|
||||
|
||||
cls.prototype.connectHandlers = function(...args) {
|
||||
cls.prototype.addEventListeners = function(...args) {
|
||||
if ( ! this._ffz_init ) {
|
||||
const i = this;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue