summaryrefslogtreecommitdiffstats
path: root/cmd/platform/channelargs.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/platform/channelargs.go')
-rw-r--r--cmd/platform/channelargs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/channelargs.go b/cmd/platform/channelargs.go
index ec697d86b..d64db10bd 100644
--- a/cmd/platform/channelargs.go
+++ b/cmd/platform/channelargs.go
@@ -42,7 +42,7 @@ func getChannelFromChannelArg(channelArg string) *model.Channel {
return nil
}
- if result := <-app.Srv.Store.Channel().GetByNameIncludeDeleted(team.Id, channelPart); result.Err == nil {
+ if result := <-app.Srv.Store.Channel().GetByNameIncludeDeleted(team.Id, channelPart, true); result.Err == nil {
channel = result.Data.(*model.Channel)
} else {
fmt.Println(result.Err.Error())