]> granicus.if.org Git - ejabberd/commit
mod_avatar: Reduce log level for too large avatars
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 26 Sep 2018 19:00:52 +0000 (21:00 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 26 Sep 2018 19:00:52 +0000 (21:00 +0200)
commite3a03394c71cb95da2f08d120a7cc640463501c9
treee343f7b8703428e5384fc154662de816e12a699a
parentaa162f30dfe9c4036426fb75b99ba7dc7a92af5e
mod_avatar: Reduce log level for too large avatars

Log a warning rather than an error when publishing an avatar fails due
to its size exceeding the ?MAX_PAYLOAD_SIZE for PubSub items.
src/mod_avatar.erl