diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-22 20:21:06 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-08-22 20:21:06 +0200 |
commit | 776feaa5eeaffe78773aec9a4431fef147fa95c4 (patch) | |
tree | c5724d70589747c96a496a2acaa1f30aa71d7953 /lib/room.cpp | |
parent | c26015503aa0fbca37abdfc4870ac94bb7befeee (diff) | |
download | libquotient-776feaa5eeaffe78773aec9a4431fef147fa95c4.tar.gz libquotient-776feaa5eeaffe78773aec9a4431fef147fa95c4.zip |
Use Q_DECL_DEPRECATED_X instead of \deprecated doc-comment
This still works with older moc yet produces actual warnings when
compiling C++ code.
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 9fe70678..398b3ec8 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1236,7 +1236,7 @@ QList<User*> Room::membersLeft() const { return d->membersLeft; } QList<User*> Room::users() const { return d->membersMap.values(); } -[[deprecated]] QStringList Room::memberNames() const +QStringList Room::memberNames() const { return safeMemberNames(); } @@ -1507,7 +1507,7 @@ QString Room::disambiguatedMemberName(const QString& mxId) const QString Room::safeMemberName(const QString& userId) const { - return sanitized(roomMembername(userId)); + return sanitized(disambiguatedMemberName(userId)); } QString Room::htmlSafeMemberName(const QString& userId) const |