about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Pages/MediaLocator.razor
diff options
context:
space:
mode:
authorEmma@Rory& <root@rory.gay>2023-08-14 19:46:33 +0200
committerEmma@Rory& <root@rory.gay>2023-08-14 19:46:33 +0200
commit83029c478f411bcadd3be53ac4dc53d88b3c8462 (patch)
tree279d62e53e55e862e4851f1447de12e47e3fce62 /MatrixRoomUtils.Web/Pages/MediaLocator.razor
parentAdd MxApiExtensions submodule (diff)
downloadMatrixUtils-83029c478f411bcadd3be53ac4dc53d88b3c8462.tar.xz
Code cleanup
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/MediaLocator.razor')
-rw-r--r--MatrixRoomUtils.Web/Pages/MediaLocator.razor3
1 files changed, 2 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Web/Pages/MediaLocator.razor b/MatrixRoomUtils.Web/Pages/MediaLocator.razor
index 8c41440..af6e67a 100644
--- a/MatrixRoomUtils.Web/Pages/MediaLocator.razor
+++ b/MatrixRoomUtils.Web/Pages/MediaLocator.razor
@@ -56,7 +56,7 @@
         });
     }
 
-    async Task executeSearch() {
+    Task executeSearch() {
         var sem = new SemaphoreSlim(128, 128);
         homeservers.ForEach(async hs => {
             await sem.WaitAsync();
@@ -80,6 +80,7 @@
             }
             StateHasChanged();
         });
+        return Task.CompletedTask;
     }
 
     async Task addMoreHomeservers() {