Jaakko Heusala
Jaakko Heusala
* Event Name: `m.room.history_visibility` * Constant Name: `MatrixType.M_ROOM_HISTORY_VISIBILITY` The state event DTO is [`RoomHistoryVisibilityStateEventDTO`](https://github.com/heusalagroup/fi.hg.matrix/blob/main/types/event/roomHistoryVisibility/RoomHistoryVisibilityStateEventDTO.ts). ## See Also * https://spec.matrix.org/v1.2/client-server-api/#room-history-visibility * https://spec.matrix.org/v1.2/client-server-api/#server-behaviour-9 * https://spec.matrix.org/v1.2/client-server-api/#server-behaviour-16 * https://spec.matrix.org/v1.2/client-server-api/#spaces * https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3createroom * https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv3roomsroomidaliases
* Event Name: `m.room.join_rules` * Constant name: `MatrixType.M_ROOM_JOIN_RULES` This is used in the [`MatrixCrudRepository`](https://github.com/heusalagroup/fi.hg.matrix/blob/main/MatrixCrudRepository.ts). The state event DTO is [`RoomJoinRulesStateEventDTO`](https://github.com/heusalagroup/fi.hg.matrix/blob/main/types/event/roomJoinRules/RoomJoinRulesStateEventDTO.ts). **Note!** Our core uses `MatrixType.M_ROOM_MEMBERSHIP` in `allow` property as `m.room.membership`...
* Event Name: `m.room.power_levels` * Constant name: `MatrixType.M_ROOM_POWER_LEVELS` *Note!* Looks like our code does not use this event directly yet (since we're using service account design). However, for obvious reasons...
* Event name: `m.room.message` * Event constant: `MatrixType.M_ROOM_MESSAGE` ## See also * This event usually contains Text Message Event as the body, e.g. #17 * https://spec.matrix.org/v1.2/client-server-api/#mroommessage * https://spec.matrix.org/v1.2/client-server-api/#mroommessage-msgtypes * https://spec.matrix.org/v1.2/client-server-api/#client-behaviour-1...
* Event name: `m.text` * Constant name: `MatrixType.M_TEXT` See `MatrixTextMessageDTO` at [fi.hg.matrix](https://github.com/heusalagroup/fi.hg.matrix/blob/main/types/message/textMessage/MatrixTextMessageDTO.ts). See also: * https://spec.matrix.org/v1.2/client-server-api/#mtext * https://spec.matrix.org/v1.2/client-server-api/#user-and-room-mentions
Websockets has a support for unix sockets with a url like `ws+unix:///path/to/file`, but Socket.io doesn't seem to support it. The server: ``` javascript const path = './server.sock'; var app =...