--- a/plugins/mod_disco.lua Sat May 27 16:42:50 2017 +0200
+++ b/plugins/mod_disco.lua Sat May 27 17:19:15 2017 +0200
@@ -175,6 +175,7 @@
end
local reply = st.reply(stanza):tag('query', {xmlns='http://jabber.org/protocol/disco#info'});
if not reply.attr.from then reply.attr.from = origin.username.."@"..origin.host; end -- COMPAT To satisfy Psi when querying own account
+ reply:tag('identity', {category='account', type='registered'}):up();
module:fire_event("account-disco-info", { origin = origin, reply = reply });
origin.send(reply);
return true;