diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/channel.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/channel.go b/api/channel.go index 0ffe9a668..0a505c397 100644 --- a/api/channel.go +++ b/api/channel.go @@ -120,6 +120,8 @@ func CreateChannel(c *Context, channel *model.Channel, addMember bool) (*model.C if cmresult := <-Srv.Store.Channel().SaveMember(cm); cmresult.Err != nil { return nil, cmresult.Err } + + InvalidateCacheForUser(c.Session.UserId) } c.LogAudit("name=" + channel.Name) |