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: Remove unnecessary checkpoint.

This commit is contained in:
Jason Volk 2019-03-12 11:44:52 -07:00
parent 425364f13e
commit fe778e6ae4

View file

@ -99,11 +99,6 @@ ircd::m::sync::_rooms_polylog(data &data,
data.membership, membership
};
json::stack::checkpoint checkpoint
{
*data.out
};
json::stack::object object
{
*data.out, membership
@ -139,9 +134,6 @@ ircd::m::sync::_rooms_polylog(data &data,
#endif
});
if(!ret)
checkpoint.rollback();
return ret;
}