mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-15 23:34:52 +09:00
.
This commit is contained in:
1 parent
7f2d16de26
commit
f63ebf6afb
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ class InstancePlugin extends BaseInstancePlugin {
|
||||
|
||||
onControllerConnectionEvent(event) {
|
||||
if (event === 'connect') {
|
||||
for (let [action, content] of this.messageQueue) {this.instance.sendTo('controller', new InstanceActionEvent(this.instance.name, action, content));}
|
||||
for (let [action, content] of this.messageQueue) {this.instance.sendTo('controller', new InstanceActionEvent(this.instance.name, action, content))};
|
||||
this.messageQueue = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user