mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Fix for the previous commit
This commit is contained in:
parent
d63be79df9
commit
cbbfd921b4
@ -94,7 +94,7 @@
|
||||
tls_options = [],
|
||||
authenticated = false,
|
||||
jid,
|
||||
user = "", server = ?MYNAME, resource = <<"">>,
|
||||
user = "", server = <<"">>, resource = <<"">>,
|
||||
sid,
|
||||
pres_t = ?SETS:new(),
|
||||
pres_f = ?SETS:new(),
|
||||
@ -293,7 +293,7 @@ wait_for_stream({xmlstreamstart, _Name, Attrs}, StateData) ->
|
||||
?NS_STREAM ->
|
||||
Server =
|
||||
case StateData#state.server of
|
||||
undefined ->
|
||||
<<"">> ->
|
||||
jlib:nameprep(xml:get_attr_s(<<"to">>, Attrs));
|
||||
S -> S
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user