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
|
|
@ -179,8 +179,9 @@ utils::getMessageDescription(const TimelineEvent &event,
|
|||
const auto ts = QDateTime::fromMSecsSinceEpoch(msg->origin_server_ts);
|
||||
|
||||
DescInfo info;
|
||||
info.userid = sender;
|
||||
info.body = QString(" %1").arg(messageDescription<Encrypted>());
|
||||
info.userid = sender;
|
||||
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…
Add table
Add a link
Reference in a new issue