From c621de57ca80ad577b57e03aef4dbd7894b384fd Mon Sep 17 00:00:00 2001
From: David Haukeness <david@hauken.us>
Date: Wed, 16 Oct 2019 13:26:31 -0600
Subject: [PATCH] removed debig line and changed to return empty slice

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index 781c509..fbb1493 100644
--- a/main.go
+++ b/main.go
@@ -226,7 +226,7 @@ func getCurrentChannelMembership() []string {
 	if channel.Name != "" {
 		t := k.NewTeam(channel.Name)
 		if testVar, err := t.MemberList(); err != nil {
-			printToView("Feed", fmt.Sprintf("Error getting member list - %+v", err))
+			return rs // then this isn't a team, its a PM or there was an error in the API call
 		} else {
 			for _, m := range testVar.Result.Members.Owners {
 				rs = append(rs, fmt.Sprintf("%+v", m.Username))