mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Fix exmpp_stanza:get_sender return value.
SVN Revision: 2757
This commit is contained in:
parent
9ac9a84ca7
commit
733e84a4a8
@ -2032,7 +2032,7 @@ check_from(El, FromJID) ->
|
||||
case exmpp_stanza:get_sender(El) of
|
||||
undefined ->
|
||||
El;
|
||||
{value, SJID} ->
|
||||
SJID when is_binary(SJID) ->
|
||||
try
|
||||
JIDEl = exmpp_jid:parse(SJID),
|
||||
case exmpp_jid:prep_resource(JIDEl) of
|
||||
|
Loading…
Reference in New Issue
Block a user