diff options
author | Rory& <root@rory.gay> | 2024-05-30 08:02:40 +0000 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-05-30 08:02:40 +0000 |
commit | ae18c049338dfcb33f721eeeb0a05571e8bd87a9 (patch) | |
tree | 9e73ae6a42a310efe43c6a9ed7d13ce19e0cbde5 /LibMatrix/Helpers/SyncHelper.cs | |
parent | Log warning if registering a duplicate type (diff) | |
download | LibMatrix-bak-ae18c049338dfcb33f721eeeb0a05571e8bd87a9.tar.xz |
Rename StateEvent to LegacyMatrixEvent
Diffstat (limited to 'LibMatrix/Helpers/SyncHelper.cs')
-rw-r--r-- | LibMatrix/Helpers/SyncHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix/Helpers/SyncHelper.cs b/LibMatrix/Helpers/SyncHelper.cs index 1833bd0..5635955 100644 --- a/LibMatrix/Helpers/SyncHelper.cs +++ b/LibMatrix/Helpers/SyncHelper.cs @@ -204,12 +204,12 @@ public class SyncHelper(AuthenticatedHomeserverGeneric homeserver, ILogger? logg /// <summary> /// Event fired when a timeline event is received /// </summary> - public List<Func<StateEventResponse, Task>> TimelineEventHandlers { get; } = new(); + public List<Func<LegacyMatrixEventResponse, Task>> TimelineEventHandlers { get; } = new(); /// <summary> /// Event fired when an account data event is received /// </summary> - public List<Func<StateEventResponse, Task>> AccountDataReceivedHandlers { get; } = new(); + public List<Func<LegacyMatrixEventResponse, Task>> AccountDataReceivedHandlers { get; } = new(); private void Log(string message) { if (logger is null) Console.WriteLine(message); |