From 44241e23529db379218d34d692e844807f2251f2 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 25 Jul 2023 14:48:33 -0700 Subject: [PATCH] Update Server Info --- utils/eventHandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/eventHandler.go b/utils/eventHandler.go index d2c74f2..a7007e2 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -65,7 +65,6 @@ func (eh *EventHandler) HandleApp(application app.Application) { application.GetPrimaryBus().Subscribe(event.ACNVersion, eh.appBusQueue) application.GetPrimaryBus().Subscribe(settings.UpdateGlobalSettings, eh.appBusQueue) application.GetPrimaryBus().Subscribe(settings.CwtchStarted, eh.appBusQueue) - application.GetPrimaryBus().Subscribe(servers.UpdateServerInfo, eh.appBusQueue) application.GetPrimaryBus().Subscribe(server_hosting.NewServer, eh.appBusQueue) application.GetPrimaryBus().Subscribe(server_hosting.ServerIntentUpdate, eh.appBusQueue) application.GetPrimaryBus().Subscribe(server_hosting.ServerDeleted, eh.appBusQueue) @@ -574,6 +573,7 @@ func (eh *EventHandler) startHandlingPeer(onion string) { eventBus.Subscribe(event.ProtocolEngineCreated, q) eventBus.Subscribe(event.SearchResult, q) eventBus.Subscribe(event.SearchCancelled, q) + eventBus.Subscribe(event.UpdateServerInfo, q) go eh.forwardProfileMessages(onion, q) }