mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.26k stars 172 forks source link

Backfill does no longer work with Matrix Synapse #628

Closed derritter88 closed 1 year ago

derritter88 commented 1 year ago

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

The master branch has legacy backfill support

derritter88 commented 1 year ago

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

sumnerevans commented 1 year ago

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.

derritter88 commented 1 year ago

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.

sumnerevans commented 1 year ago

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

derritter88 commented 1 year ago

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

sumnerevans commented 1 year ago

The release is not master

image

notice there are 18 commits to master since that release

derritter88 commented 1 year ago

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

sumnerevans commented 1 year ago

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)

derritter88 commented 1 year ago

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