feat: Implement a migration to fix busted local invites

This commit is contained in:
Ginger
2026-02-10 02:29:11 +00:00
committed by Ellis Git
parent 7485d4aa91
commit 3c0146d437
3 changed files with 59 additions and 7 deletions
@@ -1,7 +1,7 @@
use std::borrow::Borrow;
use conduwuit::{
Result, err, implement,
Pdu, Result, err, implement,
matrix::{Event, StateKey},
};
use futures::{Stream, StreamExt, TryFutureExt};
@@ -84,7 +84,7 @@ pub async fn room_state_get(
room_id: &RoomId,
event_type: &StateEventType,
state_key: &str,
) -> Result<impl Event> {
) -> Result<Pdu> {
self.services
.state
.get_room_shortstatehash(room_id)