Add "Sending message..." tooltip on hourglass

Previously, hovering the hourglass shown for locally echoed messages
would show an empty tooltip.
This commit is contained in:
miruka 2021-02-25 05:58:11 -04:00
parent 8a6f7c262f
commit 716b480550

View File

@ -275,6 +275,8 @@ HRowLayout {
text: { text: {
if (! visible) return "" if (! visible) return ""
if (model.is_local_echo) return qsTr("Sending message...")
const members = const members =
ModelStore.get(chat.userId, chat.roomId, "members") ModelStore.get(chat.userId, chat.roomId, "members")