Skip to main content

fetch_rooms

Function fetch_rooms 

Source
pub(super) async fn fetch_rooms<T: TransactedSyncV4Queries>(
    transaction: &mut T,
    connection: &ResolvedConnection,
    rooms_bump_stamps: &HashMap<OwnedRoomId, usize>,
    rooms_to_sync: &HashMap<OwnedRoomId, RoomToSync>,
) -> Result<BTreeMap<OwnedRoomId, Room>, SyncV4Error>
Expand description

Fetches all the rooms data.