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

One call to jlib:jid_to_string/1 was remaining.

SVN Revision: 1465
This commit is contained in:
Jean-Sébastien Pédron 2008-07-21 15:53:58 +00:00
parent b33ac47228
commit 4a1e45070e
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@
* src/mod_roster.erl, src/mod_vcard.erl, src/gen_iq_handler.erl: * src/mod_roster.erl, src/mod_vcard.erl, src/gen_iq_handler.erl:
Convert to exmpp. Convert to exmpp.
* src/mod_vcard.erl: One call to jlib:jid_to_string/1 was remaining.
2008-07-17 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2008-07-17 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
Merge revisions from 1444 to revision 1457 from trunk. Merge revisions from 1444 to revision 1457 from trunk.

View File

@ -303,7 +303,7 @@ set_vcard(User, LServer, VCARD) ->
#xmlel{ns = ?NS_DATA_FORMS, name = 'x', attrs = #xmlel{ns = ?NS_DATA_FORMS, name = 'x', attrs =
[#xmlattr{name = 'type', value = "form"}], children = [#xmlattr{name = 'type', value = "form"}], children =
[#xmlel{ns = ?NS_DATA_FORMS, name = 'title', children = [#xmlel{ns = ?NS_DATA_FORMS, name = 'title', children =
[#xmlcdata{cdata = list_to_binary(translate:translate(Lang, "Search users in ") ++ jlib:jid_to_string(JID))}]}, [#xmlcdata{cdata = list_to_binary(translate:translate(Lang, "Search users in ") ++ exmpp_jid:jid_to_string(JID))}]},
#xmlel{ns = ?NS_SEARCH, name = 'instructions', children = #xmlel{ns = ?NS_SEARCH, name = 'instructions', children =
[#xmlcdata{cdata = list_to_binary(translate:translate(Lang, [#xmlcdata{cdata = list_to_binary(translate:translate(Lang,
"Fill in the form to search " "Fill in the form to search "