Skip to content

Commit

Permalink
better error text
Browse files Browse the repository at this point in the history
(cherry picked from commit a57701b)
  • Loading branch information
or-else committed Sep 20, 2019
1 parent 6dda61c commit 468872b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/datamodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ func ErrUserNotFound(id, topic string, ts time.Time) *ServerComMessage {
return &ServerComMessage{Ctrl: &MsgServerCtrl{
Id: id,
Code: http.StatusNotFound, // 404
Text: "user not found or offline",
Text: "user not found",
Topic: topic,
Timestamp: ts}}
}
Expand Down

0 comments on commit 468872b

Please sign in to comment.