You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-07-28 17:02:01 +03:00
Mark events which fail to send.
This commit is contained in:
@ -153,9 +153,12 @@ function printLine(event) {
|
||||
if (event.getSender() === myUserId) {
|
||||
name = "Me";
|
||||
separator = ">>>";
|
||||
if (event.status === "sending") {
|
||||
if (event.status === sdk.EventStatus.SENDING) {
|
||||
separator = "...";
|
||||
}
|
||||
else if (event.status === sdk.EventStatus.NOT_SENT) {
|
||||
separator = " x ";
|
||||
}
|
||||
}
|
||||
var body = "";
|
||||
|
||||
|
Reference in New Issue
Block a user