summaryrefslogtreecommitdiffstats
path: root/cmd/platform
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-01-03 09:53:59 -0500
committerenahum <nahumhbl@gmail.com>2017-01-03 11:53:59 -0300
commit42e04d92c47dd7226b7e28e396f8d8d6f36e053b (patch)
treee0f69e9a9400c8e562558affe8f2d86444f16aab /cmd/platform
parent547524e5ad502e670ba3d2c2ec18f061ceff95ff (diff)
downloadchat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.tar.gz
chat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.tar.bz2
chat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.zip
Adding memcache to getchannel (#4928)
Diffstat (limited to 'cmd/platform')
-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 136d73fd2..b94bb6b70 100644
--- a/cmd/platform/channelargs.go
+++ b/cmd/platform/channelargs.go
@@ -50,7 +50,7 @@ func getChannelFromChannelArg(channelArg string) *model.Channel {
}
if channel == nil {
- if result := <-api.Srv.Store.Channel().Get(channelPart); result.Err == nil {
+ if result := <-api.Srv.Store.Channel().Get(channelPart, true); result.Err == nil {
channel = result.Data.(*model.Channel)
}
}