From c1d92ce051207adecb2897d45a2b8bdadf8eb4c2 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 12 Dec 2025 14:39:13 +0200 Subject: [PATCH] startchat: fix getting cached contact list --- pkg/connector/startchat.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/connector/startchat.go b/pkg/connector/startchat.go index 6126eb1c..497f988d 100644 --- a/pkg/connector/startchat.go +++ b/pkg/connector/startchat.go @@ -229,6 +229,8 @@ func (t *TelegramClient) GetContactList(ctx context.Context) (resp []*bridgev2.R return nil, err } t.lastContactReq = time.Now() + } else { + contacts = t.cachedContacts } users := map[int64]tg.UserClass{} for _, user := range contacts.GetUsers() {