Skip to content

Type Alias: UserBlockChangedEvent ​

ts
type UserBlockChangedEvent = object;

Defined in: types/socket.ts:304

Sent to both people when a block between them is added or lifted, so a direct message between them can switch to or from read-only without a reload.

userId is always the other person from the recipient's point of view. blocked reflects whether any block now exists between the two in either direction, not just the one that changed.

Properties ​

blocked ​

ts
blocked: boolean;

Defined in: types/socket.ts:306


userId ​

ts
userId: number;

Defined in: types/socket.ts:305

Released under the GNU Affero General Public License v3.0.