connector: set CanBackfill on rooms
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user