diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-30 03:36:58 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-30 03:36:58 +0200 |
commit | bb8c2637af3b7982e7a4b2fd15e2fbec613d0848 (patch) | |
tree | b8075ba7e507aad3f96f354712ad920ac421e474 /MatrixRoomUtils.Core/StateEvent.cs | |
parent | Update stuff (diff) | |
download | MatrixUtils-bb8c2637af3b7982e7a4b2fd15e2fbec613d0848.tar.xz |
Todays progress
Diffstat (limited to 'MatrixRoomUtils.Core/StateEvent.cs')
-rw-r--r-- | MatrixRoomUtils.Core/StateEvent.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Core/StateEvent.cs b/MatrixRoomUtils.Core/StateEvent.cs index f2c8701..18b4632 100644 --- a/MatrixRoomUtils.Core/StateEvent.cs +++ b/MatrixRoomUtils.Core/StateEvent.cs @@ -29,7 +29,7 @@ public class StateEvent { get => _type; set { _type = value; - if (RawContent != null && this is StateEventResponse stateEventResponse) { + if (RawContent is not null && this is StateEventResponse stateEventResponse) { if (File.Exists($"unknown_state_events/{Type}/{stateEventResponse.EventId}.json")) return; var x = GetType.Name; } @@ -46,7 +46,7 @@ public class StateEvent { get => _rawContent; set { _rawContent = value; - if (Type != null && this is StateEventResponse stateEventResponse) { + if (Type is not null && this is StateEventResponse stateEventResponse) { if (File.Exists($"unknown_state_events/{Type}/{stateEventResponse.EventId}.json")) return; var x = GetType.Name; } |