25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Remove unused case clauses to make dialyzer happy

This commit is contained in:
Holger Weiss 2015-04-03 20:37:42 +02:00
parent 94761ff31e
commit 1fa73fd33f

View File

@ -614,10 +614,7 @@ route_message(From, To, Packet, Type) ->
PrioRes);
_ ->
case Type of
error -> ok;
headline -> ok;
groupchat ->
bounce_offline_message(From, To, Packet);
_ ->
case ejabberd_auth:is_user_exists(LUser, LServer) of
true ->