0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

modules/client/sync/rooms/state: Minor simplification.

This commit is contained in:
Jason Volk 2019-07-08 03:51:18 -07:00
parent d5c035693c
commit 5258ffb964

View file

@ -149,8 +149,8 @@ ircd::m::sync::room_state_linear_events(data &data)
const auto &state_member_name
{
data.membership == "invite"?
"invite_state"_sv: // "invite_state"_sv:
"state"_sv
"invite_state": // "invite_state"_sv:
"state"
};
json::stack::object state