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
|
// if we resolve the roomId here it only resolves once
|
||||||
roomId = resolveRoom(roomId);
|
roomId = resolveRoom(roomId);
|
||||||
RoomInfo info = {
|
RoomInfo info = {
|
||||||
name: getRoomName(roomId),
|
getRoomName(roomId),
|
||||||
topic: getRoomTopic(roomId),
|
getRoomTopic(roomId),
|
||||||
avatarUrl: getRoomAvatar(roomId),
|
getRoomAvatar(roomId),
|
||||||
};
|
};
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
@ -249,8 +249,8 @@ MemberInfo Client::getMemberInfo(std::string userId, std::string roomId) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MemberInfo info = {
|
MemberInfo info = {
|
||||||
displayname: displayname,
|
displayname,
|
||||||
avatarUrl: avatarUrl,
|
avatarUrl,
|
||||||
};
|
};
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue