Mercurial > prosody-modules
diff mod_default_bookmarks/mod_default_bookmarks.lua @ 3237:420ebea00cf3
mod_default_bookmarks: Add support for <password/>.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 18 Aug 2018 17:38:48 +0100 |
parents | 73906187f964 |
children | ee2463fbf794 |
line wrap: on
line diff
--- a/mod_default_bookmarks/mod_default_bookmarks.lua Sat Aug 18 17:36:50 2018 +0100 +++ b/mod_default_bookmarks/mod_default_bookmarks.lua Sat Aug 18 17:38:48 2018 +0100 @@ -40,6 +40,9 @@ if nick then reply:add_child(nick):up(); end + if bookmark.password then + reply:tag("password"):text(bookmark.password):up(); + end reply:up(); end return reply;