diff options
author | Jérôme Sautret <jerome.sautret@process-one.net> | 2020-04-28 16:03:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 16:03:21 +0200 |
commit | 24a11fc8e880a8e0d154425c8b76a6119303942b (patch) | |
tree | 8f8e6befdb53b9ed4a8059dc707d954dccd268e0 /src/ejabberd_stun.erl | |
parent | Don't offer X-OAUTH2 if the only auth method enabled is Anonymous (#3209) (diff) | |
parent | ejabberd_stun: Tone down 'auth_realm' warning (diff) |
Merge pull request #3235 from weiss/xep-0215
Support STUN/TURN service discovery
Diffstat (limited to 'src/ejabberd_stun.erl')
-rw-r--r-- | src/ejabberd_stun.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ejabberd_stun.erl b/src/ejabberd_stun.erl index 6363355cf..92552cc8a 100644 --- a/src/ejabberd_stun.erl +++ b/src/ejabberd_stun.erl @@ -124,13 +124,13 @@ prepare_turn_opts(Opts, _UseTurn = true) -> Realm = case proplists:get_value(auth_realm, Opts) of undefined when AuthType == user -> if NumberOfMyHosts > 1 -> - ?WARNING_MSG("You have several virtual " - "hosts configured, but option " - "'auth_realm' is undefined and " - "'auth_type' is set to 'user', " - "most likely the TURN relay won't " - "be working properly. Using ~ts as " - "a fallback", [ejabberd_config:get_myname()]); + ?INFO_MSG("You have several virtual hosts " + "configured, but option 'auth_realm' is " + "undefined and 'auth_type' is set to " + "'user', so the TURN relay might not be " + "working properly. Using ~ts as a " + "fallback", + [ejabberd_config:get_myname()]); true -> ok end, |