Skip to content

Commit

Permalink
Merge remote-tracking branch 'processone/pr/1087'
Browse files Browse the repository at this point in the history
* processone/pr/1087:
  Return error when blocking last activity request
  • Loading branch information
weiss committed May 3, 2016
2 parents 6cb60aa + 36164d9 commit 12a8d91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ejabberd_c2s.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,12 @@ handle_info({route, From, To,
{true, Attrs,
StateData};
deny ->
Err =
jlib:make_error_reply(Packet,
?ERR_SERVICE_UNAVAILABLE),
ejabberd_router:route(To,
From,
Err),
{false, Attrs,
StateData}
end;
Expand Down

0 comments on commit 12a8d91

Please sign in to comment.