Skip to content

Commit 2c46ab6

Browse files
authored
Merge pull request #124 from james-choncholas/master
Allow backfilling on non-beeper home servers.
2 parents bc457ec + f199431 commit 2c46ab6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

historysync.go

-4
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ func (portal *Portal) sendBackfill(backfillID string, messages []*imessage.Messa
212212
portal.bridge.IM.SendBackfillResult(portal.GUID, backfillID, success, idMap)
213213
}()
214214
batchSending := portal.bridge.SpecVersions.Supports(mautrix.BeeperFeatureBatchSending)
215-
if !batchSending {
216-
portal.log.Debugfln("Dropping backfill %s as Beeper batch sending is not supported", backfillID)
217-
return true
218-
}
219215
events, metas, metaIndexes, isRead, err := portal.convertBackfill(messages)
220216
if err != nil {
221217
portal.log.Errorfln("Failed to convert messages for backfill: %v", err)

0 commit comments

Comments
 (0)