mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
make local_aliases_for_room db iterator Send
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
373991a8d6
commit
6abc4ad798
2 files changed
+2
-2
No files matched your search
@@ -84,7 +84,7 @@ impl Data {
|
||||
|
||||
pub(super) fn local_aliases_for_room<'a>(
|
||||
&'a self, room_id: &RoomId,
|
||||
) -> Box<dyn Iterator<Item = Result<OwnedRoomAliasId>> + 'a> {
|
||||
) -> Box<dyn Iterator<Item = Result<OwnedRoomAliasId>> + 'a + Send> {
|
||||
let mut prefix = room_id.as_bytes().to_vec();
|
||||
prefix.push(0xFF);
|
||||
|
||||
|
||||
Reference in new issue
Block a user