./ct_report/coverage/mam_jid_rfc.COVER.html

1 %%% @doc Encoding and decoding using encoding described in XMPP RFC specification
2 -module(mam_jid_rfc).
3 -export([encode/2,
4 decode/2]).
5
6 -behaviour(mam_jid).
7
8 encode(_UserJID, JID) ->
9 2090 jid:to_binary(jid:to_lower(JID)).
10
11 decode(_UserJID, BSrcJID) ->
12 439 jid:from_binary(BSrcJID).
Line Hits Source