# HG changeset patch # User Kim Alvefur # Date 1535144364 -7200 # Node ID 78888f4ec7e3556cfe60e3aa25c590c900847264 # Parent 119e22ccd64aa429eba8a06913ed49b2fc829f15 mod_atom: Add node as portablecontacts preferredUsername This shows up in Atom feeds generated by GNU Social diff -r 119e22ccd64a -r 78888f4ec7e3 mod_atom/mod_atom.lua --- a/mod_atom/mod_atom.lua Fri Aug 24 22:58:48 2018 +0200 +++ b/mod_atom/mod_atom.lua Fri Aug 24 22:59:24 2018 +0200 @@ -23,6 +23,7 @@ :text_tag("generator", "Prosody", { uri = "xmpp:prosody.im", version = prosody.version }) :tag("author") :text_tag("name", user) + :text_tag("preferredUsername", user, { xmlns = "http://portablecontacts.net/spec/1.0" }); feed:reset();