mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Fix dialyzer warnings for mod_mam
This commit is contained in:
parent
e987b88848
commit
151668ac10
3 changed files with 5 additions and 8 deletions
|
@ -217,13 +217,10 @@ make_sql_query(User, LServer,
|
|||
true ->
|
||||
[]
|
||||
end,
|
||||
WithTextClause = case WithText of
|
||||
{text, <<>>} ->
|
||||
[];
|
||||
{text, Txt} ->
|
||||
WithTextClause = if is_binary(WithText), WithText /= <<>> ->
|
||||
[<<" and match (txt) against ('">>,
|
||||
Escape(Txt), <<"')">>];
|
||||
undefined ->
|
||||
Escape(WithText), <<"')">>];
|
||||
true ->
|
||||
[]
|
||||
end,
|
||||
WithClause = case catch jid:tolower(With) of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue