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:
parent
d5c035693c
commit
5258ffb964
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue