mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-20 07:43:13 +09:00
Update controller.ts
This commit is contained in:
1 parent
e688acc273
commit
e47debcfb3
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@ export default async function(context: ControllerPluginContext) {
|
|||||||
? text.slice(0, -verb.length).trim()
|
? text.slice(0, -verb.length).trim()
|
||||||
: text;
|
: text;
|
||||||
|
|
||||||
const id = [...controller.instances.values()].find(i => i.name === instanceName)?.id;
|
const id = [...controller.instances.values()].find(i => i.instance_name === instanceName)?.id;
|
||||||
const connection = await controller.instances.get(id);
|
const connection = await controller.instances.get(id);
|
||||||
|
|
||||||
if (!connection) {
|
if (!connection) {
|
||||||
|
|||||||
Reference in new issue
Block a user