connector: set CanBackfill on rooms

This commit is contained in:
Skip R
2025-11-25 13:48:45 -08:00
parent c15fd3fc82
commit ae98d58dbe

View File

@@ -229,10 +229,11 @@ func (d *DiscordClient) syncChannel(ctx context.Context, ch *discordgo.Channel,
channel: ch, channel: ch,
portalKey: d.makePortalKey(ch, d.UserLogin.ID, true), portalKey: d.makePortalKey(ch, d.UserLogin.ID, true),
info: &bridgev2.ChatInfo{ info: &bridgev2.ChatInfo{
Name: &ch.Name, Name: &ch.Name,
Members: &members, Members: &members,
Avatar: makeChannelAvatar(ch), Avatar: makeChannelAvatar(ch),
Type: &roomType, Type: &roomType,
CanBackfill: true,
}, },
}) })
} }