mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix Elvis report: Remove trailing whitespace characters
https://github.com/inaka/elvis_core/blob/main/doc_rules/elvis_text_style/no_trailing_whitespace.md
This commit is contained in:
parent
d4d9771a71
commit
90ce65e4dc
@ -44,9 +44,9 @@
|
|||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
start(Host) ->
|
start(Host) ->
|
||||||
%% We add our default JWT verifier with hook priority 100.
|
%% We add our default JWT verifier with hook priority 100.
|
||||||
%% So if you need to check or verify your custom JWT before the
|
%% So if you need to check or verify your custom JWT before the
|
||||||
%% default verifier, It's better to use this hook with priority
|
%% default verifier, It's better to use this hook with priority
|
||||||
%% little than 100 and return bool() or {stop, bool()} in your own
|
%% little than 100 and return bool() or {stop, bool()} in your own
|
||||||
%% callback function.
|
%% callback function.
|
||||||
ejabberd_hooks:add(check_decoded_jwt, Host, ?MODULE, check_decoded_jwt, 100),
|
ejabberd_hooks:add(check_decoded_jwt, Host, ?MODULE, check_decoded_jwt, 100),
|
||||||
case ejabberd_option:jwt_key(Host) of
|
case ejabberd_option:jwt_key(Host) of
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
%%% File : ejabberd_web.erl
|
%%% File : ejabberd_web.erl
|
||||||
%%% Author : Alexey Shchepin <alexey@process-one.net>
|
%%% Author : Alexey Shchepin <alexey@process-one.net>
|
||||||
%%% Purpose :
|
|
||||||
%%% Purpose :
|
%%% Purpose :
|
||||||
%%% Created : 28 Feb 2004 by Alexey Shchepin <alexey@process-one.net>
|
%%% Created : 28 Feb 2004 by Alexey Shchepin <alexey@process-one.net>
|
||||||
%%%
|
%%%
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
%%% File : mod_bosh_sql.erl
|
%%% File : mod_bosh_sql.erl
|
||||||
%%% Author : Evgeny Khramtsov <ekhramtsov@process-one.net>
|
%%% Author : Evgeny Khramtsov <ekhramtsov@process-one.net>
|
||||||
%%% Purpose :
|
%%% Purpose :
|
||||||
%%% Created : 28 Mar 2017 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
%%% Created : 28 Mar 2017 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%%%----------------------------------------------------------------------
|
%%%----------------------------------------------------------------------
|
||||||
%%% File : mod_push_sql.erl
|
%%% File : mod_push_sql.erl
|
||||||
%%% Author : Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
%%% Author : Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||||||
%%% Purpose :
|
%%% Purpose :
|
||||||
%%% Created : 26 Oct 2017 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
%%% Created : 26 Oct 2017 by Evgeny Khramtsov <ekhramtsov@process-one.net>
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
|
@ -263,7 +263,7 @@ remove_user(LUser, LServer) ->
|
|||||||
" where lusername=%(LUser)s and %(LServer)H"))
|
" where lusername=%(LUser)s and %(LServer)H"))
|
||||||
end).
|
end).
|
||||||
|
|
||||||
export(_Server) ->
|
export(_Server) ->
|
||||||
[{vcard,
|
[{vcard,
|
||||||
fun(Host, #vcard{us = {LUser, LServer}, vcard = VCARD})
|
fun(Host, #vcard{us = {LUser, LServer}, vcard = VCARD})
|
||||||
when LServer == Host ->
|
when LServer == Host ->
|
||||||
|
Loading…
Reference in New Issue
Block a user