3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00

fix autojoin threads

This commit is contained in:
almeidx 2021-07-29 16:34:11 +01:00
parent 27d5c1a445
commit 6ecac49df1

View file

@ -16,7 +16,7 @@ export const AutoJoinThreadSyncEvt = utilityEvt({
async listener(meta) {
const config = meta.pluginData.config.get();
if (config.autojoin_threads) return;
if (!config.autojoin_threads) return;
for (const thread of meta.args.threads.values()) {
if (!thread.joined && thread.joinable) {
await thread.join();