aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.cpp6
-rw-r--r--user.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/room.cpp b/room.cpp
index 49517ab9..24745b9b 100644
--- a/room.cpp
+++ b/room.cpp
@@ -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)
diff --git a/user.h b/user.h
index c747bfbf..ff81305b 100644
--- a/user.h
+++ b/user.h
@@ -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);