25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix exmpp_stanza:get_sender return value.

SVN Revision: 2757
This commit is contained in:
Badlop 2009-11-24 11:56:26 +00:00
parent 9ac9a84ca7
commit 733e84a4a8

View File

@ -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