diff options
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r-- | src/mod_mam.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 5cafea5c3..47a9c6ce1 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -889,7 +889,7 @@ msg_to_el(#archive_msg{timestamp = TS, packet = El, nick = Nick, catch _:{xmpp_codec, Why} -> ?ERROR_MSG("Failed to decode raw element ~p from message " "archive of user ~s: ~s", - [El, jid:to_string(JidArchive), xmpp:format_error(Why)]), + [El, jid:encode(JidArchive), xmpp:format_error(Why)]), {error, invalid_xml} end. |