erlang timestamp
BesatZardosht opened this issue · 5 comments
I get this error when I sent register iq:
2017-01-27 11:52:44.707 [error] <0.523.0>@gen_iq_handler:process_iq:129 {undef,[{erlang,timestamp,[],[]},{mod_apns,iq,3,[{file,"mod_apns.erl"},{line,122}]},{gen_iq_handler,process_iq,6,[{file,"src/gen_iq_handler.erl"},{line,128}]},{ejabberd_local,route,3,[{file,"src/ejabberd_local.erl"},{line,112}]},{ejabberd_router,route,3,[{file,"src/ejabberd_router.erl"},{line,77}]},{ejabberd_c2s,check_privacy_route,5,[{file,"src/ejabberd_c2s.erl"},{line,2110}]},{ejabberd_c2s,session_established2,2,[{file,"src/ejabberd_c2s.erl"},{line,1264}]},{p1_fsm,handle_msg,10,[{file,"src/p1_fsm.erl"},{line,582}]}]}
my iq is like:
myDeviceToken
I appreciate any help
Hi,
Did you update your erlang? As far as I remember, there was erlang:now() but then it was marked deprecated and I replaced it with erlang:timestamp().
Thanks for your response.
I made a poll request to handle earlier versions of erlang.
What subscription supposed to be?
when I get an offline message by checking subscription it jumps to line 113
Thanks for the PR, I'll review it tomorrow.
As for subscription, it should be both.
I suppose the problem resolved?
If no, feel free to reopen issue.