diff options
Diffstat (limited to 'app/import.go')
-rw-r--r-- | app/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/import.go b/app/import.go index 882641799..26981f0c2 100644 --- a/app/import.go +++ b/app/import.go @@ -182,7 +182,7 @@ func ImportChannel(data *ChannelImportData, dryRun bool) *model.AppError { } var channel *model.Channel - if result := <-Srv.Store.Channel().GetByNameIncludeDeleted(team.Id, *data.Name); result.Err == nil { + if result := <-Srv.Store.Channel().GetByNameIncludeDeleted(team.Id, *data.Name, true); result.Err == nil { channel = result.Data.(*model.Channel) } else { channel = &model.Channel{} |