mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-08 23:30:53 +00:00
4.56.1
* Experiment Changed: This release just changes the parameters of the MQTT pubsub experiment, but otherwise has no changes.
This commit is contained in:
parent
f1be0ea60c
commit
0460c02994
8 changed files with 20 additions and 13 deletions
|
@ -33,7 +33,7 @@ export default class Room {
|
|||
this.manager.room_ids[id] = this;
|
||||
|
||||
if ( id && this.manager.pubsub )
|
||||
this.manager.pubsub.subscribe(this, `twitch/${id}/chat`);
|
||||
this.manager.pubsub.subscribe(this, `twitch/${id}`);
|
||||
|
||||
this.manager.emit(':room-add', this);
|
||||
this.load_data();
|
||||
|
@ -85,7 +85,7 @@ export default class Room {
|
|||
}
|
||||
|
||||
if ( this._id && this.manager.pubsub )
|
||||
this.manager.pubsub.unsubscribe(this, `twitch/${this._id}/chat`);
|
||||
this.manager.pubsub.unsubscribe(this, `twitch/${this._id}`);
|
||||
|
||||
if ( this.manager.room_ids[this._id] === this )
|
||||
this.manager.room_ids[this._id] = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue