diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-25 23:43:31 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-25 23:54:25 +0100 |
commit | c31b9e27939a2f756056a818d83c64c9e43b721d (patch) | |
tree | ae7b274ea984b419be0dc48cb585a4ea369243d3 /src/Utils.h | |
parent | Add some db logging and clean up avatar urls a bit (diff) | |
download | nheko-c31b9e27939a2f756056a818d83c64c9e43b721d.tar.xz |
Fix race when reading members from db
Diffstat (limited to 'src/Utils.h')
-rw-r--r-- | src/Utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. |