mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 20:25:40 +00:00
cs: Add session_id and reconnect_delay to replicationmessage
This commit is contained in:
@@ -11,6 +11,9 @@ public class ReplicationMessage {
|
||||
|
||||
[JsonPropertyName("user_id")]
|
||||
public string? UserId { get; set; }
|
||||
|
||||
[JsonPropertyName("session_id")]
|
||||
public string? SessionId { get; set; }
|
||||
|
||||
[JsonPropertyName("created_at")]
|
||||
public DateTime? CreatedAt { get; set; }
|
||||
@@ -23,4 +26,7 @@ public class ReplicationMessage {
|
||||
|
||||
[JsonPropertyName("data")]
|
||||
public object Payload { get; set; } = null!;
|
||||
|
||||
[JsonPropertyName("reconnect_delay")]
|
||||
public int? ReconnectDelay { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user