From b68b8966484b6c07a2f949e7b3f8491c9eab28c0 Mon Sep 17 00:00:00 2001
From: Jono Wenger <jono@elixxir.io>
Date: Mon, 7 Jun 2021 16:43:53 -0700
Subject: [PATCH] Fix group chat integration

---
 cmd/group.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/group.go b/cmd/group.go
index 722ec4aa5..b8064fcb6 100644
--- a/cmd/group.go
+++ b/cmd/group.go
@@ -38,14 +38,14 @@ var groupCmd = &cobra.Command{
 
 		_, _ = initClientCallbacks(client)
 
-		// Initialize the group chat manager
-		groupManager, recChan, reqChan := initGroupManager(client)
-
 		_, err := client.StartNetworkFollower(5 * time.Second)
 		if err != nil {
 			jww.FATAL.Panicf("%+v", err)
 		}
 
+		// Initialize the group chat manager
+		groupManager, recChan, reqChan := initGroupManager(client)
+
 		// Wait until connected or crash on timeout
 		connected := make(chan bool, 10)
 		client.GetHealth().AddChannel(connected)
-- 
GitLab