mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
Improve support for interactive tooltips. Allow chat tokenizers to supply custom delays and interactive flags for their tooltips. Wrap text in <span> elements. Fix bug with stream uptime metadata. Fix bug with fine-router. Add method to EventEmitter that wraps emit in a try/catch. Add lilz to the socket server lineup.
This commit is contained in:
parent
c0320dd3ab
commit
a081247fdc
14 changed files with 168 additions and 40 deletions
|
@ -36,7 +36,10 @@ export default class Room extends EventEmitter {
|
|||
this.users = [];
|
||||
this.user_ids = [];
|
||||
|
||||
this.load_data();
|
||||
if ( this.login ) {
|
||||
this.manager.socket.subscribe(`room.${login}`);
|
||||
this.load_data();
|
||||
}
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
@ -44,6 +47,8 @@ export default class Room extends EventEmitter {
|
|||
this._destroy_timer = null;
|
||||
this.destroyed = true;
|
||||
|
||||
this.manager.socket.unsubscribe(`room.${this.login}`);
|
||||
|
||||
this.style.destroy();
|
||||
|
||||
if ( this.manager.room_ids[this.id] === this )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue