diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-01-03 09:53:59 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-01-03 11:53:59 -0300 |
commit | 42e04d92c47dd7226b7e28e396f8d8d6f36e053b (patch) | |
tree | e0f69e9a9400c8e562558affe8f2d86444f16aab /api/command.go | |
parent | 547524e5ad502e670ba3d2c2ec18f061ceff95ff (diff) | |
download | chat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.tar.gz chat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.tar.bz2 chat-42e04d92c47dd7226b7e28e396f8d8d6f36e053b.zip |
Adding memcache to getchannel (#4928)
Diffstat (limited to 'api/command.go')
-rw-r--r-- | api/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command.go b/api/command.go index a6c3ea201..842d67843 100644 --- a/api/command.go +++ b/api/command.go @@ -119,7 +119,7 @@ func executeCommand(c *Context, w http.ResponseWriter, r *http.Request) { return } - chanChan := Srv.Store.Channel().Get(commandArgs.ChannelId) + chanChan := Srv.Store.Channel().Get(commandArgs.ChannelId, true) teamChan := Srv.Store.Team().Get(c.TeamId) userChan := Srv.Store.User().Get(c.Session.UserId) |