soulsands / trilium-chat

Chat plugin highly integrated with Trilium
https://soulsands.github.io/trilium-chat/
GNU Affero General Public License v3.0
73 stars 9 forks source link

Fix for latest Trilium [swap `runOnBackend()` with `runAsyncOnBackendWithManualTransactionHandling()`] #11

Closed perfectra1n closed 9 months ago

xnohat commented 9 months ago

Please make this merge @soulsands

soulsands commented 9 months ago

@perfectra1n @xnohat sorry I didn't see this. That seems to be a new method,should we keep the runonbackend for compatibility? Is this plugin broken in the latest trilium?

soulsands commented 9 months ago

Thanks @perfectra1n @xnohat, I see the issue. I will remove the "async" instand for compatibility.

perfectra1n commented 9 months ago

Yep, it was due to the latest Trilium's changes, which broke the plugin. Thanks for the response!