show 'sending' while waiting for remote echo for filetile instead of unknown status

This commit is contained in:
Bruno Windels 2020-11-20 16:38:16 +01:00
parent 4cf66b8e61
commit 2f0f168c6e

View File

@ -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}`;