about summary refs log tree commit diff
path: root/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-04 02:17:10 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-04 02:17:10 +0200
commit21da6cde79ccd0cb7f895a29e3d8cab959ef11ba (patch)
treefb0b89566b64ae907d7ca3ea8a29adcf0c0361d0 /LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
parentClean up some extension functions (diff)
downloadLibMatrix-21da6cde79ccd0cb7f895a29e3d8cab959ef11ba.tar.xz
Too many changes to name...
Diffstat (limited to 'LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs')
-rw-r--r--LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs b/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
index fa75a88..c5a95ae 100644
--- a/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
+++ b/LibMatrix/StateEventTypes/Spec/PresenceStateEventData.cs
@@ -1,5 +1,6 @@
 using System.Text.Json.Serialization;
 using LibMatrix.Extensions;
+using LibMatrix.Helpers;
 using LibMatrix.Interfaces;
 
 namespace LibMatrix.StateEventTypes.Spec;
@@ -14,4 +15,8 @@ public class PresenceStateEventData : IStateEventType {
     public bool CurrentlyActive { get; set; }
     [JsonPropertyName("status_msg")]
     public string StatusMessage { get; set; }
+    [JsonPropertyName("avatar_url")]
+    public string AvatarUrl { get; set; }
+    [JsonPropertyName("displayname")]
+    public string DisplayName { get; set; }
 }