about summary refs log tree commit diff
path: root/LibMatrix/Utilities
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LibMatrix/Utilities/CommonSyncFilters.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/LibMatrix/Utilities/CommonSyncFilters.cs b/LibMatrix/Utilities/CommonSyncFilters.cs
index 401850c..d07c225 100644
--- a/LibMatrix/Utilities/CommonSyncFilters.cs
+++ b/LibMatrix/Utilities/CommonSyncFilters.cs
@@ -37,11 +37,11 @@ public static class CommonSyncFilters {
             Ephemeral = new SyncFilter.RoomFilter.StateFilter(rooms: []),
             State = new SyncFilter.RoomFilter.StateFilter {
                 Types = new List<string> {
-                    RoomCreateEventContent.EventId,
-                    RoomNameEventContent.EventId,
-                    RoomAvatarEventContent.EventId,
-                    MjolnirShortcodeEventContent.EventId,
-                    RoomPowerLevelEventContent.EventId
+                    RoomCreateLegacyEventContent.EventId,
+                    RoomNameLegacyEventContent.EventId,
+                    RoomAvatarLegacyEventContent.EventId,
+                    MjolnirShortcodeLegacyEventContent.EventId,
+                    RoomPowerLevelLegacyEventContent.EventId
                 },
                 LazyLoadMembers = true, IncludeRedundantMembers = false
             },
@@ -57,8 +57,8 @@ public static class CommonSyncFilters {
             Ephemeral = new SyncFilter.RoomFilter.StateFilter(rooms: []),
             State = new SyncFilter.RoomFilter.StateFilter {
                 Types = new List<string> {
-                    SpaceChildEventContent.EventId,
-                    SpaceParentEventContent.EventId
+                    SpaceChildLegacyEventContent.EventId,
+                    SpaceParentLegacyEventContent.EventId
                 },
                 LazyLoadMembers = true, IncludeRedundantMembers = false
             },
@@ -74,7 +74,7 @@ public static class CommonSyncFilters {
             Ephemeral = new SyncFilter.RoomFilter.StateFilter(rooms: []),
             State = new SyncFilter.RoomFilter.StateFilter {
                 Types = new List<string> {
-                    RoomMemberEventContent.EventId
+                    RoomMemberLegacyEventContent.EventId
                 },
                 LazyLoadMembers = true, IncludeRedundantMembers = false,
                 Senders = ["@me"]