This reverts commit 5d28e0533d
.
This commit is contained in:
parent
5d28e0533d
commit
709e6e78d2
12 changed files with 51 additions and 137 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue