From d5dbdb273703a3add0f1c3287aa531854ab30269 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 3 Nov 2017 10:25:38 -0500 Subject: several one-line panic, race, and logic fixes (#7766) --- app/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/channel.go') diff --git a/app/channel.go b/app/channel.go index 4ccc12004..de60fbae3 100644 --- a/app/channel.go +++ b/app/channel.go @@ -1185,7 +1185,7 @@ func (a *App) ViewChannel(view *model.ChannelView, userId string, clearPushNotif } } - times := map[string]int64{} + var times map[string]int64 if result := <-uchan; result.Err != nil { return nil, result.Err } else { -- cgit v1.2.3-1-g7c22