diff options
-rw-r--r-- | room.cpp | 6 | ||||
-rw-r--r-- | user.h | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -371,13 +371,13 @@ QList< User* > Room::users() const } QStringList Room::memberNames() const { - QStringList res; + QStringList res; - for (auto u : d->membersMap.values()) { + for (auto u : d->membersMap.values()) { res.append( this->roomMembername(u) ); } - return res; + return res; } void Room::Private::insertMemberIntoMap(User *u) @@ -47,10 +47,10 @@ namespace QMatrixClient */ Q_INVOKABLE QString displayname() const; - /** - * Returns the name of bridge the user is connected from or empty. - */ - Q_INVOKABLE QString bridged() const; + /** + * Returns the name of bridge the user is connected from or empty. + */ + Q_INVOKABLE QString bridged() const; QPixmap avatar(int requestedWidth, int requestedHeight); QPixmap croppedAvatar(int requestedWidth, int requestedHeight); |