Messages: Add loading animation white sending message

This commit is contained in:
veselcraft 2022-06-01 16:31:04 +03:00
parent b731cb4c87
commit 1a436a8575
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -37,7 +37,7 @@
</div>
</div>
<div class="time" align="right">
<span data-bind="text: timing.sent"></span>
<span data-bind="html: timing.sent"></span>
</div>
</div>
</div>
@ -213,6 +213,7 @@
newMessage(content) {
let msg = this._newSelfMessage(content);
msg.timing.sent = "<img src=\"/assets/packages/static/openvk/img/loading_mini.gif\">";
this.addMessage(msg);
return msg._tuid;