Avatars can now be 32 bit sizes. (see https://xmpp.org/extensions/xep-0084.html) size can be xs:unsignedInt
This commit is contained in:
parent
13449b195c
commit
a7ab45cb2d
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ generate_element!(
|
||||||
Info, "info", AVATAR_METADATA,
|
Info, "info", AVATAR_METADATA,
|
||||||
attributes: [
|
attributes: [
|
||||||
/// The size of the image data in bytes.
|
/// The size of the image data in bytes.
|
||||||
bytes: Required<u16> = "bytes",
|
bytes: Required<u32> = "bytes",
|
||||||
|
|
||||||
/// The width of the image in pixels.
|
/// The width of the image in pixels.
|
||||||
width: Option<u16> = "width",
|
width: Option<u16> = "width",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue