diff options
Diffstat (limited to 'api4/channel.go')
-rw-r--r-- | api4/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go index b29d2a94c..02a7c34b5 100644 --- a/api4/channel.go +++ b/api4/channel.go @@ -1073,7 +1073,7 @@ func addChannelMember(c *Context, w http.ResponseWriter, r *http.Request) { return } - cm, err := c.App.AddChannelMember(member.UserId, channel, c.Session.UserId, postRootId) + cm, err := c.App.AddChannelMember(member.UserId, channel, c.Session.UserId, postRootId, !c.Session.IsMobileApp()) if err != nil { c.Err = err return |