mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Small fixes
SVN Revision: 1849
This commit is contained in:
parent
4c61d254cc
commit
d1cf37bbec
@ -1,3 +1,10 @@
|
|||||||
|
2009-01-22 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
|
|
||||||
|
* src/ejabberd_sm.erl: Fix typo (node -> lnode).
|
||||||
|
|
||||||
|
* src/ejabberd_c2s.erl: Reuse the domain in binary() format to
|
||||||
|
make the jid.
|
||||||
|
|
||||||
2009-01-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2009-01-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some
|
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some
|
||||||
|
@ -241,7 +241,7 @@ wait_for_stream({xmlstreamstart, #xmlel{ns = NS} = Opening}, StateData) ->
|
|||||||
true ->
|
true ->
|
||||||
Lang = exmpp_stream:get_lang(Opening),
|
Lang = exmpp_stream:get_lang(Opening),
|
||||||
change_shaper(StateData,
|
change_shaper(StateData,
|
||||||
exmpp_jid:make_jid(Server)),
|
exmpp_jid:make_jid(ServerB)),
|
||||||
case exmpp_stream:get_version(Opening) of
|
case exmpp_stream:get_version(Opening) of
|
||||||
{1, 0} ->
|
{1, 0} ->
|
||||||
send_element(StateData, Header),
|
send_element(StateData, Header),
|
||||||
|
@ -384,8 +384,8 @@ code_change(_OldVsn, State, _Extra) ->
|
|||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
set_session(SID, JID, Priority, Info) ->
|
set_session(SID, JID, Priority, Info) ->
|
||||||
US = {exmpp_jid:node(JID), exmpp_jid:ldomain(JID)},
|
US = {exmpp_jid:lnode(JID), exmpp_jid:ldomain(JID)},
|
||||||
USR = {exmpp_jid:node(JID),
|
USR = {exmpp_jid:lnode(JID),
|
||||||
exmpp_jid:ldomain(JID),
|
exmpp_jid:ldomain(JID),
|
||||||
exmpp_jid:lresource(JID)},
|
exmpp_jid:lresource(JID)},
|
||||||
F = fun() ->
|
F = fun() ->
|
||||||
|
Loading…
Reference in New Issue
Block a user