On Wed, Aug 03, 2022 at 12:10:57AM +0200, Bernhard Geier wrote:
Rooms may have a title/name, but they do not have to. A JID is enough.

When trying to get the badge for a room without a title, mod_muc_badge throws a HTTP error 500 (with Lua 5.1) or shows a "nil" label in the SVG badge (with Lua 5.2).

This patch uses this JID's localpart if a room has no title to fix that.


# HG changeset patch

Thanks for the patch, it has been applied:
https://hg.prosody.im/prosody-modules/rev/8a4b17e2e984

--
Zash

--
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prosody-dev/YuvVWdhwnFSYapJM%40diploria.zash.se.

Reply via email to