From c31b9e27939a2f756056a818d83c64c9e43b721d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 25 Nov 2020 23:43:31 +0100 Subject: Fix race when reading members from db --- src/Utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Utils.h') diff --git a/src/Utils.h b/src/Utils.h index f59e8673..6de3d458 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -67,7 +67,9 @@ descriptiveTime(const QDateTime &then); //! Generate a message description from the event to be displayed //! in the RoomList. DescInfo -getMessageDescription(const TimelineEvent &event, const QString &localUser, const QString &room_id); +getMessageDescription(const TimelineEvent &event, + const QString &localUser, + const QString &displayName); //! Get the first character of a string, taking into account that //! surrogate pairs might be in use. -- cgit 1.5.1