handletelegram: don't update remote profile with min info

This commit is contained in:
Tulir Asokan
2026-03-18 21:25:59 +02:00
parent b695e0b4ea
commit 7baed1c77b

View File

@@ -810,7 +810,7 @@ func (t *TelegramClient) updateGhost(ctx context.Context, userID int64, user *tg
}
ghost.UpdateInfo(ctx, userInfo)
if ghost.ID == t.userID && t.updateRemoteProfile(ctx, user, ghost) {
if !user.Min && ghost.ID == t.userID && t.updateRemoteProfile(ctx, user, ghost) {
t.userLogin.BridgeState.Send(status.BridgeState{StateEvent: status.StateConnected})
}