summaryrefslogtreecommitdiffstats
path: root/api4/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel.go')
-rw-r--r--api4/channel.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/api4/channel.go b/api4/channel.go
index 74eb1a972..7a1324883 100644
--- a/api4/channel.go
+++ b/api4/channel.go
@@ -716,6 +716,8 @@ func viewChannel(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
+ c.App.UpdateLastActivityAtIfNeeded(c.Session)
+
// Returning {"status": "OK", ...} for backwards compatability
resp := &model.ChannelViewResponse{
Status: "OK",