diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-10-31 19:11:17 +0300 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-10-31 19:11:17 +0300 |
commit | 88558453fba26b16407f063e3e289f64478c551c (patch) | |
tree | c9534ac8ab7867f08e7b1a98842f53309bc90d29 /src | |
parent | ee2b5be7f481cb5c436c9ed08876b5970f95b6ef (diff) |
Typo
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_muc.erl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mod_muc.erl b/src/mod_muc.erl index 68f031a58..c79cff19b 100644 --- a/src/mod_muc.erl +++ b/src/mod_muc.erl @@ -706,17 +706,17 @@ get_subscribed_rooms(ServerHost, Host, From) -> Mod = gen_mod:db_mod(LServer, ?MODULE), BareFrom = jid:remove_resource(From), case Mod:get_subscribed_rooms(LServer, Host, BareFrom) of - not_implmented -> + not_implemented -> Rooms = get_online_rooms(ServerHost, Host), - lists:flatmap( - fun({Name, _, Pid}) -> - case p1_fsm:sync_send_all_state_event(Pid, {is_subscribed, BareFrom}) of - true -> [jid:make(Name, Host)]; - false -> [] - end; - (_) -> - [] - end, Rooms); + lists:flatmap( + fun({Name, _, Pid}) -> + case p1_fsm:sync_send_all_state_event(Pid, {is_subscribed, BareFrom}) of + true -> [jid:make(Name, Host)]; + false -> [] + end; + (_) -> + [] + end, Rooms); V -> V end. |