Skip to content

Commit

Permalink
Fail if inbox fails
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Sep 24, 2022
1 parent 66254a8 commit 5c606f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/inbox/mod_inbox.erl
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,11 @@ remove_user(Acc, User, Server) ->
mongooseim:host_type(), jid:lserver()) ->
mongoose_hooks:simple_acc().
remove_domain(Acc, HostType, Domain) ->
mod_inbox_backend:remove_domain(HostType, Domain),
Acc.
F = fun() ->
mod_inbox_backend:remove_domain(HostType, Domain),
Acc
end,
mongoose_domain_api:remove_domain_wrapper(Acc, F, ?MODULE).

-spec disco_local_features(mongoose_disco:feature_acc(),
map(),
Expand Down

0 comments on commit 5c606f7

Please sign in to comment.