backfill: set CanBackfill in the correct places

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-10-07 09:16:24 -06:00
parent 57b32f6ac6
commit 6c44ba487a
2 changed files with 23 additions and 10 deletions
+2 -1
View File
@@ -106,7 +106,8 @@ func (t *TelegramClient) handleDialogs(ctx context.Context, dialogs tg.ModifiedM
}
}
chatInfo := bridgev2.ChatInfo{
UserLocal: &bridgev2.UserLocalPortalInfo{},
CanBackfill: true,
UserLocal: &bridgev2.UserLocalPortalInfo{},
Members: &bridgev2.ChatMemberList{
MemberMap: map[networkid.UserID]bridgev2.ChatMember{
t.userID: bridgev2.ChatMember{