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:
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
|
||||
{
|
||||
{ s.first },
|
||||
{ end(s.first), end(s.second) }
|
||||
!empty(s.second)?
|
||||
string_view{begin(s.second) - 1, end(s.second)}:
|
||||
string_view{}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue