0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️:dbs: Fix issues with origins index key split.

This commit is contained in:
Jason Volk 2018-04-11 18:43:45 -07:00
parent b3fa735f8d
commit ed637d48f0

View file

@ -701,7 +701,9 @@ ircd::m::dbs::room_origins_key(const string_view &amalgam)
return
{
{ s.first },
{ end(s.first), end(s.second) }
!empty(s.second)?
string_view{begin(s.second) - 1, end(s.second)}:
string_view{}
};
}