Handle malformed proxy tag importing correctly
This commit is contained in:
@@ -51,6 +51,8 @@ namespace PluralKit
|
||||
|
||||
[JsonIgnore] public string ProxyString => $"{Prefix ?? ""}text{Suffix ?? ""}";
|
||||
|
||||
public bool IsEmpty => Prefix == null && Suffix == null;
|
||||
|
||||
public bool Equals(ProxyTag other) => Prefix == other.Prefix && Suffix == other.Suffix;
|
||||
|
||||
public override bool Equals(object obj) => obj is ProxyTag other && Equals(other);
|
||||
|
||||
Reference in New Issue
Block a user