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: Remove assertion.

This commit is contained in:
Jason Volk 2019-08-11 05:20:39 -07:00
parent 41c8643305
commit f4b860e612

View file

@ -112,7 +112,6 @@ ircd::m::sync::room_state_linear_events(data &data)
{
is_own_membership && data.membership == "join"
};
assert(!is_own_join || m::membership(*data.event) == "join");
// Figure out whether the event was included in the timeline or whether
// to include it here in the state, which comes before the timeline.