1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Revert "Use styled mxids in member list (#6328)" (#8107)

This reverts commit 5d28e0533d.
This commit is contained in:
Travis Ralston
2022-03-21 19:58:38 -06:00
committed by GitHub
parent 5d28e0533d
commit 709e6e78d2
12 changed files with 51 additions and 137 deletions

View File

@@ -132,7 +132,7 @@ function getAllEventTiles(session: ElementSession): Promise<ElementHandle[]> {
}
async function getMessageFromEventTile(eventTile: ElementHandle): Promise<Message> {
const senderElement = await eventTile.$(".mx_DisambiguatedProfile_displayName");
const senderElement = await eventTile.$(".mx_SenderProfile_displayName");
const className: string = await (await eventTile.getProperty("className")).jsonValue();
const classNames = className.split(" ");
const bodyElement = await eventTile.$(".mx_EventTile_body");