mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Strip address and such out of 3pid invites
We're not meant to leak that into the graph
This commit is contained in:
parent
8b9f471d27
commit
8c5f252edb
2 changed files with 13 additions and 2 deletions
|
@ -778,7 +778,7 @@ class Auth(object):
|
|||
if "third_party_invite" in event.content:
|
||||
key = (
|
||||
EventTypes.ThirdPartyInvite,
|
||||
event.content["third_party_invite"]["token"]
|
||||
event.content["third_party_invite"]["signed"]["token"]
|
||||
)
|
||||
third_party_invite = current_state.get(key)
|
||||
if third_party_invite:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue