chatinfo: flag group resyncs as excluded from timeline

This commit is contained in:
Tulir Asokan
2025-10-01 16:17:06 +03:00
parent a38c3e5d00
commit 4410415776
3 changed files with 10 additions and 7 deletions
+4 -1
View File
@@ -145,8 +145,11 @@ func (t *TelegramClient) getGroupChatInfo(fullChat *tg.MessagesChatFull, chatID
Members: &bridgev2.ChatMemberList{
IsFull: true,
MemberMap: map[networkid.UserID]bridgev2.ChatMember{},
ExcludeChangesFromTimeline: true,
},
CanBackfill: true,
CanBackfill: true,
ExcludeChangesFromTimeline: true,
ExtraUpdates: func(ctx context.Context, p *bridgev2.Portal) bool {
meta := p.Metadata.(*PortalMetadata)
_ = updatePortalLastSyncAt(ctx, p)