aboutsummaryrefslogtreecommitdiff
path: root/src/xmpp_codec.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp_codec.erl')
-rw-r--r--src/xmpp_codec.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp_codec.erl b/src/xmpp_codec.erl
index bffe2f1ad..a0181e1e6 100644
--- a/src/xmpp_codec.erl
+++ b/src/xmpp_codec.erl
@@ -6686,8 +6686,8 @@ enc_tzo({H, M}) ->
dec_tzo(Val) ->
[H1, M1] = str:tokens(Val, <<":">>),
- H = jlib:binary_to_integer(H1),
- M = jlib:binary_to_integer(M1),
+ H = binary_to_integer(H1),
+ M = binary_to_integer(M1),
if H >= -12, H =< 12, M >= 0, M < 60 -> {H, M} end.
decode_thumbnail(__TopXMLNS, __IgnoreEls,