mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.0.0-rc12.15
* Not Fixed: Directory stuff. * Fixed: Chat handling. This is an initial release to add support for Twitch's changes to how chat works internally. Everything should be working. I'm not entirely happy with the code though, so I'll be reviewing this in the future when I have time to clean things up. I haven't had a chance to go over directory features yet, and likely won't for several days because of my job.
This commit is contained in:
parent
d4deb36f08
commit
cf3de0d238
4 changed files with 215 additions and 117 deletions
|
@ -75,10 +75,11 @@ export default class SocketClient extends Module {
|
|||
// We don't have our own IRC connection yet, so the site's chat has to do.
|
||||
|
||||
const _chat = this.resolve('site.chat');
|
||||
const chat = _chat && _chat.currentChat;
|
||||
const con = chat.chatService && chat.chatService.client && chat.chatService.client.connection;
|
||||
const chat = _chat && _chat.ChatService.first;
|
||||
const con = chat.client && chat.client.connection;
|
||||
|
||||
if (con && con.send) con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
|
||||
if (con && con.send)
|
||||
con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue