Fix start chat button variable name

pull/21833/head
Travis Ralston 2020-04-17 15:06:59 -06:00
parent 77df610653
commit 432dbab8cb
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ async function createDm(session, invitees) {
throw new Error("could not find room list section that contains 'direct messages' in header");
}
const dmsHeader = roomListHeaders[dmsIndex];
const addRoomButton = await dmsHeader.$(".mx_RoomSubList_addRoom");
await addRoomButton.click();
const startChatButton = await dmsHeader.$(".mx_RoomSubList_addRoom");
await startChatButton.click();
const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea');
for (const target of invitees) {