mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
show 'sending' while waiting for remote echo for filetile instead of unknown status
This commit is contained in:
parent
4cf66b8e61
commit
2f0f168c6e
@ -67,6 +67,7 @@ export class FileTile extends MessageTile {
|
|||||||
return this.i18n`Uploading ${filename}: ${percent}%`;
|
return this.i18n`Uploading ${filename}: ${percent}%`;
|
||||||
}
|
}
|
||||||
case SendStatus.Sending:
|
case SendStatus.Sending:
|
||||||
|
case SendStatus.Sent:
|
||||||
return this.i18n`Sending ${filename}…`;
|
return this.i18n`Sending ${filename}…`;
|
||||||
case SendStatus.Error:
|
case SendStatus.Error:
|
||||||
return this.i18n`Error: could not send ${filename}: ${pendingEvent.error.message}`;
|
return this.i18n`Error: could not send ${filename}: ${pendingEvent.error.message}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user