mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Fix some dialyzer warnings
This commit is contained in:
parent
b2de1d7438
commit
940ca9311d
53 changed files with 244 additions and 242 deletions
|
@ -648,7 +648,7 @@ has_no_store_hint(Message) ->
|
|||
|
||||
-spec is_resent(message(), binary()) -> boolean().
|
||||
is_resent(Pkt, LServer) ->
|
||||
case xmpp:get_subtag(Pkt, #stanza_id{}) of
|
||||
case xmpp:get_subtag(Pkt, #stanza_id{by = #jid{}}) of
|
||||
#stanza_id{by = #jid{lserver = LServer}} ->
|
||||
true;
|
||||
_ ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue