mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
handletelegram: don't update remote profile with min info
This commit is contained in:
@@ -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})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user