mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Forgot to convert a <presence/> from the new to the old record.
SVN Revision: 1396
This commit is contained in:
parent
83a33726ce
commit
b9074097da
@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
* src/jlib.erl: Add function short_bare_jid/1.
|
* src/jlib.erl: Add function short_bare_jid/1.
|
||||||
|
|
||||||
|
* src/ejabberd_sm.erl: Forgot to convert a <presence/> from the new to
|
||||||
|
the old record.
|
||||||
|
|
||||||
2008-06-30 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2008-06-30 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
* src/Makefile.in: Remove the -I flag for exmpp includes; the
|
* src/Makefile.in: Remove the -I flag for exmpp includes; the
|
||||||
|
@ -190,8 +190,11 @@ get_user_info(User, Server, Resource) ->
|
|||||||
|
|
||||||
set_presence(SID, User, Server, Resource, Priority, Presence, Info) ->
|
set_presence(SID, User, Server, Resource, Priority, Presence, Info) ->
|
||||||
set_session(SID, User, Server, Resource, Priority, Info),
|
set_session(SID, User, Server, Resource, Priority, Info),
|
||||||
|
% XXX OLD FORMAT: Presence.
|
||||||
|
PresenceOld = exmpp_xml:xmlel_to_xmlelement(Presence,
|
||||||
|
[?DEFAULT_NS], ?PREFIXED_NS),
|
||||||
ejabberd_hooks:run(set_presence_hook, exmpp_stringprep:nameprep(Server),
|
ejabberd_hooks:run(set_presence_hook, exmpp_stringprep:nameprep(Server),
|
||||||
[User, Server, Resource, Presence]).
|
[User, Server, Resource, PresenceOld]).
|
||||||
|
|
||||||
unset_presence(SID, User, Server, Resource, Status, Info) ->
|
unset_presence(SID, User, Server, Resource, Status, Info) ->
|
||||||
set_session(SID, User, Server, Resource, undefined, Info),
|
set_session(SID, User, Server, Resource, undefined, Info),
|
||||||
|
Loading…
Reference in New Issue
Block a user