0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-02 03:32:52 +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 const auto &state_member_name
{ {
data.membership == "invite"? data.membership == "invite"?
"invite_state"_sv: // "invite_state"_sv: "invite_state": // "invite_state"_sv:
"state"_sv "state"
}; };
json::stack::object state json::stack::object state