Skip to content

Commit

Permalink
update per review
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato committed Apr 2, 2017
1 parent 5780fa4 commit a3edde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api4/status.go
Expand Up @@ -79,7 +79,7 @@ func updateUserStatus(c *Context, w http.ResponseWriter, r *http.Request) {

switch status.Status {
case "online":
app.SetStatusOnline(c.Params.UserId, c.Session.Id, true)
app.SetStatusOnline(c.Params.UserId, "", true)
case "offline":
app.SetStatusOffline(c.Params.UserId, true)
case "away":
Expand Down

0 comments on commit a3edde0

Please sign in to comment.