userinfo: remove redundant custom is bot field

This commit is contained in:
Tulir Asokan
2026-03-28 22:44:24 +02:00
parent bb405b4773
commit a96bf7ed95
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ func legacyContactInfoFromGhost(ghost *bridgev2.Ghost) *legacyContactInfo {
Name: ghost.Name,
Username: username,
Phone: phone,
IsBot: ghost.Metadata.(*connector.GhostMetadata).IsBot,
IsBot: ghost.IsBot,
AvatarURL: ghost.AvatarMXC,
}
}