mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 14:10:13 +01:00
ircd:Ⓜ️:dbs: Fix issues with origins index key split.
This commit is contained in:
parent
b3fa735f8d
commit
ed637d48f0
1 changed files with 3 additions and 1 deletions
|
@ -701,7 +701,9 @@ ircd::m::dbs::room_origins_key(const string_view &amalgam)
|
||||||
return
|
return
|
||||||
{
|
{
|
||||||
{ s.first },
|
{ s.first },
|
||||||
{ end(s.first), end(s.second) }
|
!empty(s.second)?
|
||||||
|
string_view{begin(s.second) - 1, end(s.second)}:
|
||||||
|
string_view{}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue