Merge pull request #5880 from SimonBrandner/show-username

This commit is contained in:
Michael Telatynski
2021-06-14 21:34:01 +01:00
committed by GitHub
3 changed files with 42 additions and 17 deletions

View File

@@ -122,7 +122,7 @@ function getAllEventTiles(session) {
}
async function getMessageFromEventTile(eventTile) {
const senderElement = await eventTile.$(".mx_SenderProfile_name");
const senderElement = await eventTile.$(".mx_SenderProfile_displayName");
const className = await (await eventTile.getProperty("className")).jsonValue();
const classNames = className.split(" ");
const bodyElement = await eventTile.$(".mx_EventTile_body");