Skip to content

Use correct room_alias_name option when creating the room

Eric Eastwood requested to merge fix-room-alias-on-creation into develop

Use correct room_alias_name option when creating the room (room_alias is not a thing).

Rooms on Matrix, now actually have a room alias setup:

API spec docs for these options which shows room_alias_name: https://matrix.org/docs/spec/legacy/#post-matrix-client-api-v1-createroom

I originally based this code off of the Slack bridge src/TeamSyncer.ts#L473 which seems to be using the wrong option. Update: Fixed in https://github.com/matrix-org/matrix-appservice-slack/pull/544

Correct code can be seen in this latest bifrost bridge Half-Shot has been working on: src/MatrixEventHandler.ts#L83

Edited by Eric Eastwood

Merge request reports