./ct_report/coverage/mam_jid_mini.COVER.html
1 | %%% @doc Encoding and decoding using user's JID for compressing |
|
2 | -module(mam_jid_mini). |
|
3 | -export([encode/2, |
|
4 | decode/2]). |
|
5 |
|
|
6 | -behaviour(mam_jid). |
|
7 |
|
|
8 | encode(UserJID, JID) -> |
|
9 | 13453 | mod_mam_utils:jid_to_opt_binary(UserJID, JID). |
10 |
|
|
11 | decode(UserJID, BSrcJID) -> |
|
12 | 2766 | jid:from_binary(mod_mam_utils:expand_minified_jid(UserJID, BSrcJID)). |
Line | Hits | Source |
---|