mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix encrypted messages not showing a user in the sidebar
This commit is contained in:
parent
4720d2b562
commit
d5e1475a5c
2 changed files with 4 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
|||
- Fix crash when trying to maximize image, that wasn't downloaded yet.
|
||||
- Fix Binding restorMode flooding logs on Qt 5.14.2+
|
||||
- Fix with some qml styles hidden menu items leave empty space
|
||||
- Fix encrypted messages not showing a user in the sidebar
|
||||
|
||||
## [0.7.0] -- 2020-04-19
|
||||
|
||||
|
|
|
@ -180,7 +180,8 @@ utils::getMessageDescription(const TimelineEvent &event,
|
|||
|
||||
DescInfo info;
|
||||
info.userid = sender;
|
||||
info.body = QString(" %1").arg(messageDescription<Encrypted>());
|
||||
info.body = QString(" %1").arg(
|
||||
messageDescription<Encrypted>(username, "", sender == localUser));
|
||||
info.timestamp = utils::descriptiveTime(ts);
|
||||
info.event_id = QString::fromStdString(msg->event_id);
|
||||
info.datetime = ts;
|
||||
|
|
Loading…
Reference in a new issue