From ab2375e57c142d1974428ad6efd6d66c76db5b95 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Sat, 18 Dec 2021 18:13:12 -0800 Subject: [PATCH] Upgrade Cwtch and Remove SendMessageFrom*Error --- go.mod | 2 +- go.sum | 5 ++--- utils/eventHandler.go | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 8b7e273..5404916 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.openprivacy.ca/cwtch.im/libcwtch-go go 1.15 require ( - cwtch.im/cwtch v0.14.6 + cwtch.im/cwtch v0.14.7 git.openprivacy.ca/cwtch.im/server v1.4.1 git.openprivacy.ca/openprivacy/connectivity v1.5.0 git.openprivacy.ca/openprivacy/log v1.0.3 diff --git a/go.sum b/go.sum index e3b4257..09212e2 100644 --- a/go.sum +++ b/go.sum @@ -12,9 +12,8 @@ cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2k cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cwtch.im/cwtch v0.14.1/go.mod h1:/fLuoYLY/7JHw6RojFojpd245CiOcU24QpWqzh9FRDI= cwtch.im/cwtch v0.14.1/go.mod h1:/fLuoYLY/7JHw6RojFojpd245CiOcU24QpWqzh9FRDI= -cwtch.im/cwtch v0.14.6 h1:biwYF3NRM+lfDaw+kLdtGrCuVc2YbyOatTUdbsQS6do= -cwtch.im/cwtch v0.14.6/go.mod h1:/fLuoYLY/7JHw6RojFojpd245CiOcU24QpWqzh9FRDI= -cwtch.im/cwtch v0.14.6/go.mod h1:/fLuoYLY/7JHw6RojFojpd245CiOcU24QpWqzh9FRDI= +cwtch.im/cwtch v0.14.7 h1:EELXndowvTbar6HYLtCNj01M3+el67zYpZ6FGiTg2Ts= +cwtch.im/cwtch v0.14.7/go.mod h1:/fLuoYLY/7JHw6RojFojpd245CiOcU24QpWqzh9FRDI= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0-rc.1 h1:m0VOOB23frXZvAOK44usCgLWvtsxIoMCTBGJZlpmGfU= filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= diff --git a/utils/eventHandler.go b/utils/eventHandler.go index 7316544..7aab66a 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -416,8 +416,6 @@ func (eh *EventHandler) startHandlingPeer(onion string) { eventBus.Subscribe(event.GroupCreated, q) eventBus.Subscribe(event.NewGroup, q) eventBus.Subscribe(event.DeleteGroup, q) - eventBus.Subscribe(event.SendMessageToGroupError, q) - eventBus.Subscribe(event.SendMessageToPeerError, q) eventBus.Subscribe(event.ServerStateChange, q) eventBus.Subscribe(event.PeerStateChange, q) eventBus.Subscribe(event.ChangePasswordSuccess, q)