mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
348 stars 37 forks source link

Allow backfilling on non-beeper home servers. #124

Closed james-choncholas closed 1 year ago

james-choncholas commented 1 year ago

Based on https://github.com/mautrix/imessage/issues/122

ownaginatious commented 1 year ago

Based on the response to my issue (follow-up would have been nice, but I guess these guys are busy...) it sounds like Synapse has dropped the ability to backfill using the batch API, so this probably doesn't work for more recent Synapse versions.

james-choncholas commented 1 year ago

I think they're busy with the signal re-write atm. I believe this pr will work on recent synapse versions. Mautrix imessage will just send each message individually which is what matrix recommends after they deprecated batches. This is only for the initial sync though. This pr doesn't touch the backfill queue

ownaginatious commented 1 year ago

Ah okay, I'd assumed it only worked for me as I'm using the maunium Synapse fork. Thanks for fixing :+1: