shady2k / logseq-inbox-telegram-plugin

MIT License
78 stars 5 forks source link

botTargetGraph Name Issue #34

Closed dv0zn3r closed 1 year ago

dv0zn3r commented 1 year ago

Is there any specific way to input a name for botTargetGraph? Messages have stopped syncing after I have switched from using an active graph. I have tried Name, Folder/Name, graph/Name. I have restarted the plugin and reloaded the app. Switching back to active graph successfully loads messages.

shady2k commented 1 year ago

No, there are no specific ways. You can investigate the right name with these steps:

Don’t forget to share your results in this issue.

dv0zn3r commented 1 year ago
  • When the plugin tries to poll a new message, you will see a message like this: ‘Not in the bot target graph: ${botTargetGraph}, current graph: ${currentGraph?.name}, skipped’.

I have followed your instructions. I do not see any messages in a console. Perhaps, I am looking in a wrong place?

shady2k commented 1 year ago

Maybe you didn't wait for the polling period? Try restarting the plugin with the console open, and you will see the changes immediately.

dv0zn3r commented 1 year ago

Thank you. The initial name of the graph contained a space in the end, which I would not know anyhow. For instance, it was "Zettlekasten ", while I was requesting "Zettlekasten". Gosh, that took some effort.