finalpi / wechat2tg

微信消息转发到telegram
MIT License
183 stars 19 forks source link

[BUG] 不能自动创建文件夹 #42

Open LittleChest opened 3 weeks ago

LittleChest commented 3 weeks ago

https://github.com/finalpi/wechat2tg/issues/42#issuecomment-2365272695

Nimbly8836 commented 3 weeks ago

现在是有这个功能的,会自动创建一个名为 WeChat 文件夹。自动创建的群聊都会放在这个文件夹下面。 如果你没创建文件夹的话我目前想的情况是:

  1. 非 Telegram Premium 用户只能创建10个文件夹,创建的时候超过了这个限制出错了
  2. 创建文件夹发生了未知错误

如果创建文件夹出错了应该会有日志。

LittleChest commented 3 weeks ago

现在是有这个功能的,会自动创建一个名为 WeChat 文件夹。自动创建的群聊都会放在这个文件夹下面。 如果你没创建文件夹的话我目前想的情况是:

  1. 非 Telegram Premium 用户只能创建10个文件夹,创建的时候超过了这个限制出错了
  2. 创建文件夹发生了未知错误

如果创建文件夹出错了应该会有日志。

原来tg还有文件夹数量限制 杜鼠鼠想钱想疯了

LittleChest commented 3 weeks ago
uncaughtException TypeError: Cannot read properties of undefined (reading 'id')
    at SetupServiceImpl.addToFolder (/app/dist/service/impl/SetupServiceImpl.js:89:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async TelegramUserClient.createGroup (/app/dist/client/TelegramUserClient.js:158:13)
    at async WeChatClient.message (/app/dist/client/WechatClient.js:590:32)
Nimbly8836 commented 3 weeks ago
uncaughtException TypeError: Cannot read properties of undefined (reading 'id')
    at SetupServiceImpl.addToFolder (/app/dist/service/impl/SetupServiceImpl.js:89:33)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async TelegramUserClient.createGroup (/app/dist/client/TelegramUserClient.js:158:13)
    at async WeChatClient.message (/app/dist/client/WechatClient.js:590:32)

是的,这是一个 bug。当前如果被这个问题困扰,可以手动创建一个名为 WeChat 的文件夹,应该能解决问题。 后续会修复这个问题的。