Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions content/tutorials/websocket.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ A "`friend-location`" event is sent when one of the user's friends has changed i
User events are relating to the current user logged in.

#### user-update
A "`user-update`" event is sent when something regarding the user has been updated. Note that the "`user`" object is **not** a LimitedUser object, even though it has similarities. It's missing `developerType`, `friendKey`, `isFriend`, `last_platform` and `location`. It also has extra `currentAvatar` and `currentAvatarAssetUrl` fields.
A "`user-update`" event is sent when something regarding the user has been updated. Note that the "`user`" object is **not** a LimitedUser object, even though it has similarities. It's missing `developerType`, `friendKey`, `isFriend`, `last_platform` and `location`. It also has an extra `currentAvatar` field.

```json
{
Expand All @@ -334,7 +334,6 @@ A "`user-update`" event is sent when something regarding the user has been updat
"user": {
"bio": ":bioString",
"currentAvatar": ":avatarId",
"currentAvatarAssetUrl": ":assetUrl",
"currentAvatarImageUrl": ":assetUrl",
"currentAvatarThumbnailImageUrl": ":assetUrl",
"displayName": ":displayName",
Expand Down