diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-17 03:14:38 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-17 03:14:38 +0200 |
commit | d8b91f1c5e07a1aa30963977a145ff8ecde10a41 (patch) | |
tree | af12f3a2f81f75f5cd8e7e39c1b86d0f25374ffc /MatrixRoomUtils.Web/Pages/Rooms/Index.razor | |
parent | Handle external logouts (diff) | |
download | MatrixUtils-d8b91f1c5e07a1aa30963977a145ff8ecde10a41.tar.xz |
Improve timeline
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/Rooms/Index.razor')
-rw-r--r-- | MatrixRoomUtils.Web/Pages/Rooms/Index.razor | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MatrixRoomUtils.Web/Pages/Rooms/Index.razor b/MatrixRoomUtils.Web/Pages/Rooms/Index.razor index a70ed9d..816299f 100644 --- a/MatrixRoomUtils.Web/Pages/Rooms/Index.razor +++ b/MatrixRoomUtils.Web/Pages/Rooms/Index.razor @@ -52,7 +52,7 @@ SyncResult? sync = null; string? nextBatch = null; while (sync is null or { Rooms.Join.Count: > 10}) { - sync = await hs.SyncHelper.Sync(since: nextBatch, filter: filter); + sync = await hs.SyncHelper.Sync(since: nextBatch, filter: filter, timeout: 0); nextBatch = sync?.NextBatch ?? nextBatch; if (sync is null) continue; Console.WriteLine($"Got sync, next batch: {nextBatch}!"); @@ -91,7 +91,7 @@ roomInfo.StateEvents.Add(new StateEventResponse() { Type = "m.room.avatar", TypedContent = new RoomAvatarEventData() { - + } }); } @@ -135,7 +135,7 @@ } private bool RenderContents { get; set; } = false; - + private string _status; public string Status { @@ -146,4 +146,4 @@ } } -} \ No newline at end of file +} |