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 76afa0f commit cf09923Copy full SHA for cf09923
synapse/handlers/profile.py
@@ -382,6 +382,12 @@ async def _update_join_states(
382
if not self.hs.is_mine(target_user):
383
return
384
385
+ # T2B: don't update membership events for discord users
386
+ logger.info("@@ doing profile update for", target_user.to_string())
387
+ if target_user.to_string().startswith("@_discord"):
388
+ logger.info("skipping profile update for discord user", target_user.to_string())
389
+ return
390
+
391
await self.request_ratelimiter.ratelimit(requester)
392
393
# Do not actually update the room state for shadow-banned users.
0 commit comments