about summary refs log tree commit diff
path: root/LibMatrix/Utilities/CommonSyncFilters.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Utilities/CommonSyncFilters.cs')
-rw-r--r--LibMatrix/Utilities/CommonSyncFilters.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix/Utilities/CommonSyncFilters.cs b/LibMatrix/Utilities/CommonSyncFilters.cs
index 68836f5..04672c5 100644
--- a/LibMatrix/Utilities/CommonSyncFilters.cs
+++ b/LibMatrix/Utilities/CommonSyncFilters.cs
@@ -36,13 +36,13 @@ public static class CommonSyncFilters {
             AccountData = new MatrixFilter.RoomFilter.StateFilter(rooms: []),
             Ephemeral = new MatrixFilter.RoomFilter.StateFilter(rooms: []),
             State = new MatrixFilter.RoomFilter.StateFilter {
-                Types = new List<string> {
+                Types = [
                     RoomCreateLegacyEventContent.EventId,
                     RoomNameLegacyEventContent.EventId,
                     RoomAvatarLegacyEventContent.EventId,
                     MjolnirShortcodeLegacyEventContent.EventId,
                     RoomPowerLevelLegacyEventContent.EventId
-                },
+                ],
                 LazyLoadMembers = true, IncludeRedundantMembers = false
             },
             Timeline = new MatrixFilter.RoomFilter.StateFilter(rooms: [])