mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-26 10:28:46 +08:00
increase receive message timeout
This commit is contained in:
parent
956688237a
commit
440b1032d5
@ -33,7 +33,7 @@ module.exports = async function receiveMessage(session, message) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
// wait a bit for the incoming event to be rendered
|
// wait a bit for the incoming event to be rendered
|
||||||
await session.delay(300);
|
await session.delay(500);
|
||||||
let lastTile = await session.query(".mx_EventTile_last");
|
let lastTile = await session.query(".mx_EventTile_last");
|
||||||
const senderElement = await lastTile.$(".mx_SenderProfile_name");
|
const senderElement = await lastTile.$(".mx_SenderProfile_name");
|
||||||
const bodyElement = await lastTile.$(".mx_EventTile_body");
|
const bodyElement = await lastTile.$(".mx_EventTile_body");
|
||||||
|
Loading…
Reference in New Issue
Block a user