🐛 Bug fixes

This commit is contained in:
2025-10-26 02:41:17 +08:00
parent e7a46e96ed
commit 323fa8ee15
2 changed files with 6 additions and 4 deletions

View File

@@ -18,10 +18,6 @@ public class SnRealm : ModelBase, IIdentifiedResource
public bool IsCommunity { get; set; }
public bool IsPublic { get; set; }
// Outdated fields, for backward compability
[MaxLength(32)] public string? PictureId { get; set; }
[MaxLength(32)] public string? BackgroundId { get; set; }
[Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Picture { get; set; }
[Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Background { get; set; }

View File

@@ -9,6 +9,7 @@ import "google/protobuf/wrappers.proto";
import "google/protobuf/empty.proto";
import 'account.proto';
import "file.proto";
// Message Definitions
@@ -18,6 +19,11 @@ message Realm {
string slug = 3;
bool is_community = 4;
bool is_public = 5;
string description = 6;
optional CloudFile picture = 7;
optional CloudFile background = 8;
optional VerificationMark verification = 9;
string account_id = 10;
}
message RealmMember {