diff options
Diffstat (limited to 'api/deprecated.go')
-rw-r--r-- | api/deprecated.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/deprecated.go b/api/deprecated.go index 183552414..4865ab5e0 100644 --- a/api/deprecated.go +++ b/api/deprecated.go @@ -76,7 +76,7 @@ func updateLastViewedAt(c *Context, w http.ResponseWriter, r *http.Request) { } }() - Srv.Store.Channel().UpdateLastViewedAt(id, c.Session.UserId) + Srv.Store.Channel().UpdateLastViewedAt([]string{id}, c.Session.UserId) // Must be after update so that unread count is correct if doClearPush { |