mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge

Home Page:https://maunium.net/go/mautrix-whatsapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backfill does no longer work with Matrix Synapse

derritter88 opened this issue · comments

Hello there,

I have been using this bridge for a year without any problems.
Initially I configured my Matrix homeserver as mentiond with

experimental_features:
  msc2716_enabled: true

which still works.

But since the upgrade to 1.87.0 the bridge does no longer work if backfill: true.
The log says:

mautrix-whatsapp-amd64[634328]: Jul  6, 2023 13:08:05 FTL Backfilling is enabled in bridge config, but homeserver does not support MSC2716 batch sending

The master branch has legacy backfill support

So what is the correct approach?
Leaving backfill: false?

I think that all of these settings should still work: https://github.com/mautrix/whatsapp/blob/master/example-config.yaml#L130-L155

It will just backfill everything all at once on portal creation, instead of incrementally backfilling like is supported via Beeper.

Unfortunately backfill: true does no longer work with the current Matrix Synapse server.
I installed the update two days ago on my Ubuntu 22.04 VM and yesterday I recognised that Mautrix Whatsapp service was no longer running due to the above mentioned error message.

You probably aren't using the master branch, then.

I am using the precombiled version from the release section.
For Synapse I am using the official Ubuntu repository

The release is not master

image

notice there are 18 commits to master since that release

I see - are there any plans to release another precompiled version?

Eventually, yes. If you really don't want to compile it yourself, you should be able to download the latest executable from CI if you want: https://mau.dev/mautrix/whatsapp/-/jobs/35335 (choose which architecture on the right)

Thanks @sumnerevans - that did the trick.
The current binary file from there is running with backfill: true.