Add new hook: c2s_post_auth_features
The c2s_post_auth_features hook can be used to extend the list of stream features offered after authentication.
This commit is contained in:
parent
ef89497d3f
commit
56175fef1b
|
@ -493,6 +493,8 @@ wait_for_stream({xmlstreamstart, _Name, Attrs}, StateData) ->
|
|||
RosterVersioningFeature ++
|
||||
StreamManagementFeature ++
|
||||
ClientStateFeature ++
|
||||
ejabberd_hooks:run_fold(c2s_post_auth_features,
|
||||
Server, [], [Server]) ++
|
||||
ejabberd_hooks:run_fold(c2s_stream_features,
|
||||
Server, [], [Server]),
|
||||
send_element(StateData,
|
||||
|
|
Loading…
Reference in New Issue