We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27aabd4 commit 4fe7d77Copy full SHA for 4fe7d77
discord/user.py
@@ -155,7 +155,7 @@ def _update(self, data: UserPayload) -> None:
155
else:
156
self.nameplate = None
157
primary_guild = data.get("primary_guild", None)
158
- if primary_guild:
+ if primary_guild and primary_guild.get("identity_enabled"):
159
self.primary_guild = PrimaryGuild(data=primary_guild, state=self._state)
160
161
self.primary_guild = None
0 commit comments