set a room alias for a public room, as required now

This commit is contained in:
Bruno Windels 2018-09-21 11:25:26 +02:00
parent 64608af0b2
commit a637ad85ad

View file

@ -25,7 +25,7 @@ module.exports = async function roomDirectoryScenarios(alice, bob) {
console.log(" creating a public room and join through directory:"); console.log(" creating a public room and join through directory:");
const room = 'test'; const room = 'test';
await createRoom(alice, room); await createRoom(alice, room);
await changeRoomSettings(alice, {directory: true, visibility: "public_no_guests"}); await changeRoomSettings(alice, {directory: true, visibility: "public_no_guests", alias: "#test"});
await join(bob, room); //looks up room in directory await join(bob, room); //looks up room in directory
const bobMessage = "hi Alice!"; const bobMessage = "hi Alice!";
await sendMessage(bob, bobMessage); await sendMessage(bob, bobMessage);