soulsands / trilium-chat

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

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

Closed perfectra1n closed 1 year ago

xnohat commented 1 year ago

Please make this merge @soulsands

soulsands commented 1 year 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 1 year ago

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

perfectra1n commented 1 year ago

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