mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.11->trunk
This commit is contained in:
commit
06e29c834c
2 changed files with 7 additions and 8 deletions
|
@ -63,6 +63,7 @@ function handle_normal_presence(origin, stanza)
|
|||
core_post_stanza(origin, stanza, true);
|
||||
end
|
||||
end
|
||||
stanza.attr.to = nil;
|
||||
if stanza.attr.type == nil and not origin.presence then -- initial presence
|
||||
module:fire_event("presence/initial", { origin = origin, stanza = stanza } );
|
||||
origin.presence = stanza; -- FIXME repeated later
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue