0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02:00

ircd:Ⓜ️:room::state: Fix empty type argument fallback path.

This commit is contained in:
Jason Volk 2018-10-18 13:18:46 -07:00
parent ceb9559a56
commit 6713aa54eb

View file

@ -974,6 +974,9 @@ size_t
ircd::m::room::state::count(const string_view &type)
const
{
if(!type)
return count();
if(!present())
return m::state::count(root_id, type);