fix: raise masquerade avatar URL length limit

This commit is contained in:
Lea
2023-01-18 18:17:05 +00:00
committed by Paul Makles
parent fc32996b51
commit ce6b454874
+1 -1
View File
@@ -81,7 +81,7 @@ pub struct Masquerade {
pub name: Option<String>,
/// Replace the avatar shown on this message (URL to image file)
#[serde(skip_serializing_if = "Option::is_none")]
#[validate(length(min = 1, max = 128))]
#[validate(length(min = 1, max = 256))]
pub avatar: Option<String>,
/// Replace the display role colour shown on this message
///