interface UserUpdatedMessage

Sent by the server to every socket after a profile edit, a rename, a role change or an avatar upload. WSProvider refreshes the user's avatar wherever it shows, and passes it on as a user event, which updates their profile and their name on the lists.

Properties

type: "user_updated"

Usage

import { type UserUpdatedMessage } from "shared/ws.ts";