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

Fix a buf where a tuple was passed to exmpp_jid:jid_to_list/1 instead of

a #jid. Now we use exmpp_jid:jid_to_list/3.

PR:		EJABP-1
Submitted by:	Pablo Polvorin <pablo.polvorin@process-one.net>

SVN Revision: 1617
This commit is contained in:
Jean-Sébastien Pédron 2008-10-10 08:16:29 +00:00
parent e1b3bd611d
commit ccd94bb734
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,10 @@
legacy authentication informations were not search among the query
children but among the IQ children. Thanks to Pablo Polvorin!
* src/mod_privacy_odbc.erl (item_to_raw/1): Fix a buf where a tuple
was passed to exmpp_jid:jid_to_list/1 instead of a #jid. Now we use
exmpp_jid:jid_to_list/3. Thanks to Pablo Polvorin!
2008-10-09 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/ejabberd_c2s.erl: Fix handling of unauthenticated stanzas which

View File

@ -727,7 +727,8 @@ item_to_raw(#listitem{type = Type,
none ->
{"n", ""};
jid ->
{"j", exmpp_jid:jid_to_list(Value)};
{N0, D0, R0} = Value,
{"j", exmpp_jid:jid_to_list(N0, D0, R0)};
group ->
{"g", Value};
subscription ->