summary refs log tree commit diff
path: root/synapse/handlers/identity.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-08-30 12:00:20 +0100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-08-30 12:00:20 +0100
commit3057095a5dab5a6f1c023f25386a6f1e4346bd9f (patch)
tree7ebfa65aae2d1d397cdcb2ec5e827029f27e0e24 /synapse/handlers/identity.py
parentFix buildkite pipeline plugin matrix-org/annotate using the wrong variable co... (diff)
downloadsynapse-3057095a5dab5a6f1c023f25386a6f1e4346bd9f.tar.xz
Revert "Use the v2 lookup API for 3PID invites (#5897)" (#5937)
This reverts commit 71fc04069a5770a204c3514e0237d7374df257a8.

This broke 3PID invites as #5892 was required for it to work correctly.
Diffstat (limited to 'synapse/handlers/identity.py')
-rw-r--r--synapse/handlers/identity.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index 97daca5fee..d199521b58 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -282,16 +282,3 @@ class IdentityHandler(BaseHandler):
         except HttpResponseException as e:
             logger.info("Proxied requestToken failed: %r", e)
             raise e.to_synapse_error()
-
-
-class LookupAlgorithm:
-    """
-    Supported hashing algorithms when performing a 3PID lookup.
-
-    SHA256 - Hashing an (address, medium, pepper) combo with sha256, then url-safe base64
-        encoding
-    NONE - Not performing any hashing. Simply sending an (address, medium) combo in plaintext
-    """
-
-    SHA256 = "sha256"
-    NONE = "none"