aboutsummaryrefslogtreecommitdiff
path: root/src/mod_offline.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_offline.erl')
-rw-r--r--src/mod_offline.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl
index d442bd5cb..07d71bfdc 100644
--- a/src/mod_offline.erl
+++ b/src/mod_offline.erl
@@ -380,7 +380,7 @@ handle_offline_items_view(JID, Items) ->
NewEl = set_offline_tag(El, Node),
case ejabberd_sm:get_session_pid(U, S, R) of
Pid when is_pid(Pid) ->
- Pid ! {route, NewEl};
+ ejabberd_c2s:route(Pid, {route, NewEl});
none ->
ok
end,