From 8fe1e6731257414221af026d4284bfcd53688069 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 4 Apr 2023 14:00:54 -0700 Subject: [PATCH] Remove Code --- go.mod | 2 +- go.sum | 7 ++----- utils/eventHandler.go | 8 -------- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index e277b9e..4afa2fb 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.openprivacy.ca/cwtch.im/cwtch-autobindings go 1.19 require ( - cwtch.im/cwtch v0.19.4 + cwtch.im/cwtch v0.19.5 git.openprivacy.ca/cwtch.im/server v1.4.5 git.openprivacy.ca/openprivacy/connectivity v1.8.6 git.openprivacy.ca/openprivacy/log v1.0.3 diff --git a/go.sum b/go.sum index fc48715..0f1e2c8 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,6 @@ cwtch.im/cwtch v0.18.0/go.mod h1:StheazFFY7PKqBbEyDVLhzWW6WOat41zV0ckC240c5Y= -cwtch.im/cwtch v0.19.2 h1:H7DrSKQ9J7aNkKQkdyGGWckEV+dPKbL5PMRq0GoAn6I= -cwtch.im/cwtch v0.19.2/go.mod h1:h8S7EgEM+8pE1k+XLB5jAFdIPlOzwoXEY0GH5mQye5A= -cwtch.im/cwtch v0.19.3 h1:LRcJFgSw5LwUlOOcVtDC5mRb9NsuXUwNloGo5zNZb9A= -cwtch.im/cwtch v0.19.3/go.mod h1:h8S7EgEM+8pE1k+XLB5jAFdIPlOzwoXEY0GH5mQye5A= -cwtch.im/cwtch v0.19.4/go.mod h1:h8S7EgEM+8pE1k+XLB5jAFdIPlOzwoXEY0GH5mQye5A= +cwtch.im/cwtch v0.19.5 h1:SBie1Ucalxte//3QzWK2h3DSZCDqPyu+gJa8vmEPopg= +cwtch.im/cwtch v0.19.5/go.mod h1:h8S7EgEM+8pE1k+XLB5jAFdIPlOzwoXEY0GH5mQye5A= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= diff --git a/utils/eventHandler.go b/utils/eventHandler.go index a94c715..9a3f491 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -514,14 +514,6 @@ func (eh *EventHandler) handleProfileEvent(ev *EventProfileEnvelope) string { return "" } contactStateCache[ev.Event.Data[event.RemotePeer]] = cxnState - - if contact != nil { - // No enrichment needed - if cxnState == connections.AUTHENTICATED { - // if known and authed, get vars - - } - } case event.ServerStateChange: cxnState := connections.ConnectionStateToType()[ev.Event.Data[event.ConnectionState]]