show 'sending' while waiting for remote echo for filetile instead of unknown status
This commit is contained in:
parent
4cf66b8e61
commit
2f0f168c6e
1 changed files with 1 additions and 0 deletions
|
@ -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}`;
|
||||||
|
|
Reference in a new issue