set a room alias for a public room, as required now
This commit is contained in:
parent
64608af0b2
commit
a637ad85ad
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue