Fix : bad code formatting

This commit is contained in:
timoreo 2023-12-09 23:32:43 +01:00
parent b055b4a663
commit 4463d9b96b
Signed by: timoreo
GPG key ID: 121A72C3512BA288

View file

@ -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;
}