Fix : bad code formatting
This commit is contained in:
parent
b055b4a663
commit
4463d9b96b
1 changed files with 5 additions and 5 deletions
|
@ -170,9 +170,9 @@ RoomInfo Client::getRoomInfo(std::string roomId) {
|
|||
// if we resolve the roomId here it only resolves once
|
||||
roomId = resolveRoom(roomId);
|
||||
RoomInfo info = {
|
||||
name: getRoomName(roomId),
|
||||
topic: getRoomTopic(roomId),
|
||||
avatarUrl: getRoomAvatar(roomId),
|
||||
getRoomName(roomId),
|
||||
getRoomTopic(roomId),
|
||||
getRoomAvatar(roomId),
|
||||
};
|
||||
return info;
|
||||
}
|
||||
|
@ -249,8 +249,8 @@ MemberInfo Client::getMemberInfo(std::string userId, std::string roomId) {
|
|||
}
|
||||
}
|
||||
MemberInfo info = {
|
||||
displayname: displayname,
|
||||
avatarUrl: avatarUrl,
|
||||
displayname,
|
||||
avatarUrl,
|
||||
};
|
||||
return info;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue