From 51ff4a3b95ab38dd46c88f4e5482bf78449bb88c Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 9 May 2025 07:09:57 +0200 Subject: msc4222 fixes --- LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs') diff --git a/LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs b/LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs index 9baeaa4..6cb42ca 100644 --- a/LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs +++ b/LibMatrix/Helpers/SyncProcessors/Msc4222EmulationSyncProcessor.cs @@ -26,6 +26,12 @@ public class Msc4222EmulationSyncProcessor(AuthenticatedHomeserverGeneric homese return resp; } + resp = await EmulateMsc4222Internal(resp, sw); + + return SimpleSyncProcessors.FillRoomIds(resp); + } + + private async Task EmulateMsc4222Internal(SyncResponse? resp, Stopwatch sw) { var modified = false; List> tasks = []; if (resp.Rooms is { Join.Count: > 0 }) { -- cgit 1.5.1