mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Disable code of recent commit because some clients can't handle it (EJAB-1058)
SVN Revision: 2840
This commit is contained in:
parent
d911cd1124
commit
3da20486c1
@ -724,13 +724,13 @@ wait_for_bind({xmlstreamelement, El}, StateData) ->
|
|||||||
Resource ->
|
Resource ->
|
||||||
Resource
|
Resource
|
||||||
end,
|
end,
|
||||||
ServerB = StateData#state.server,
|
%%ServerB = StateData#state.server,
|
||||||
RosterVersioningFeature =
|
%%RosterVersioningFeature =
|
||||||
ejabberd_hooks:run_fold(roster_get_versioning_feature,
|
%% ejabberd_hooks:run_fold(roster_get_versioning_feature,
|
||||||
ServerB, [], [ServerB]),
|
%% ServerB, [], [ServerB]),
|
||||||
send_element(StateData,
|
%%send_element(StateData,
|
||||||
exmpp_stream:features([exmpp_server_session:feature()
|
%% exmpp_stream:features([exmpp_server_session:feature()
|
||||||
| RosterVersioningFeature])),
|
%% | RosterVersioningFeature])),
|
||||||
JID = exmpp_jid:make(StateData#state.user, StateData#state.server, R),
|
JID = exmpp_jid:make(StateData#state.user, StateData#state.server, R),
|
||||||
Res = exmpp_server_binding:bind(El, JID),
|
Res = exmpp_server_binding:bind(El, JID),
|
||||||
send_element(StateData, Res),
|
send_element(StateData, Res),
|
||||||
@ -773,7 +773,7 @@ wait_for_session({xmlstreamelement, El}, StateData) ->
|
|||||||
?INFO_MSG("(~w) Opened session for ~s",
|
?INFO_MSG("(~w) Opened session for ~s",
|
||||||
[StateData#state.socket,
|
[StateData#state.socket,
|
||||||
exmpp_jid:to_binary(JID)]),
|
exmpp_jid:to_binary(JID)]),
|
||||||
send_element(StateData, exmpp_stream:features([])),
|
%%send_element(StateData, exmpp_stream:features([])),
|
||||||
SID = {now(), self()},
|
SID = {now(), self()},
|
||||||
Conn = get_conn_type(StateData),
|
Conn = get_conn_type(StateData),
|
||||||
Info = [{ip, StateData#state.ip}, {conn, Conn},
|
Info = [{ip, StateData#state.ip}, {conn, Conn},
|
||||||
|
Loading…
Reference in New Issue
Block a user