From c660b3e620de241c1158d08edaf0a99028364977 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 16 Aug 2025 00:17:33 +0200 Subject: Some cleanup, further room builder work --- LibMatrix/RoomTypes/GenericRoom.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibMatrix/RoomTypes') diff --git a/LibMatrix/RoomTypes/GenericRoom.cs b/LibMatrix/RoomTypes/GenericRoom.cs index 7d21d68..9753176 100644 --- a/LibMatrix/RoomTypes/GenericRoom.cs +++ b/LibMatrix/RoomTypes/GenericRoom.cs @@ -623,7 +623,7 @@ public class GenericRoom { } } - public async Task BulkSendEventsAsync(IEnumerable events) { + public async Task BulkSendEventsAsync(IEnumerable events) { if ((await Homeserver.GetCapabilitiesAsync()).Capabilities.BulkSendEvents?.Enabled == true) await Homeserver.ClientHttpClient.PostAsJsonAsync( $"/_matrix/client/unstable/gay.rory.bulk_send_events/rooms/{RoomId}/bulk_send_events?_libmatrix_txn_id={Guid.NewGuid()}", events); @@ -638,7 +638,7 @@ public class GenericRoom { } } - public async Task BulkSendEventsAsync(IAsyncEnumerable events) { + public async Task BulkSendEventsAsync(IAsyncEnumerable events) { if ((await Homeserver.GetCapabilitiesAsync()).Capabilities.BulkSendEvents?.Enabled == true) await Homeserver.ClientHttpClient.PostAsJsonAsync( $"/_matrix/client/unstable/gay.rory.bulk_send_events/rooms/{RoomId}/bulk_send_events?_libmatrix_txn_id={Guid.NewGuid()}", events); -- cgit 1.5.1