summaryrefslogtreecommitdiff
path: root/src/mod_sm.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-02-18 09:36:27 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-02-18 09:36:27 +0300
commit940ca9311d7097e593bddc7bfc8ed9ba504d66bc (patch)
treeca86e6f5aae6b3d142675334ace94fb21452fd35 /src/mod_sm.erl
parentMerge pull request #1553 from lemenkov/config_functions_deprecation (diff)
Fix some dialyzer warnings
Diffstat (limited to 'src/mod_sm.erl')
-rw-r--r--src/mod_sm.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_sm.erl b/src/mod_sm.erl
index 6f9246de..991ec74e 100644
--- a/src/mod_sm.erl
+++ b/src/mod_sm.erl
@@ -599,8 +599,8 @@ inherit_session_state(#{user := U, server := S} = State, ResumeID) ->
{error, <<"Invalid 'previd' value">>}
end.
--spec resume_session({integer(), pid()}, state()) -> {resume, state()} |
- {error, binary()}.
+-spec resume_session({erlang:timestamp(), pid()}, state()) -> {resume, state()} |
+ {error, binary()}.
resume_session({Time, Pid}, _State) ->
ejabberd_c2s:call(Pid, {resume_session, Time}, timer:seconds(15)).