From a7ab45cb2dba1fb9d85d500c84d9ab4b91fff8d2 Mon Sep 17 00:00:00 2001 From: Werner Kroneman Date: Sun, 3 Dec 2023 14:42:26 +0100 Subject: [PATCH] Avatars can now be 32 bit sizes. (see https://xmpp.org/extensions/xep-0084.html) size can be xs:unsignedInt --- parsers/src/avatar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsers/src/avatar.rs b/parsers/src/avatar.rs index c475db8..0c1eecc 100644 --- a/parsers/src/avatar.rs +++ b/parsers/src/avatar.rs @@ -24,7 +24,7 @@ generate_element!( Info, "info", AVATAR_METADATA, attributes: [ /// The size of the image data in bytes. - bytes: Required = "bytes", + bytes: Required = "bytes", /// The width of the image in pixels. width: Option = "width",