Software /
code /
prosody
Changeset
8156:745e0a783055
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 27 May 2017 17:19:15 +0200 (2017-05-27) |
parents | 8154:6300394bb713 (current diff) 8155:f0d847316723 (diff) |
children | 8157:4947e84f2e5b 8159:3850993a9bda |
files | plugins/mod_disco.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;