]> granicus.if.org Git - ejabberd/commitdiff
Typo
authorPaweł Chmielowski <pchmielowski@process-one.net>
Tue, 31 Oct 2017 16:11:17 +0000 (17:11 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Tue, 31 Oct 2017 16:11:17 +0000 (17:11 +0100)
src/mod_muc.erl

index 68f031a58f997ef0d74b6a492fb9663c4873a81f..c79cff19b6ef0ce65337fe10cbc8adad4f620744 100644 (file)
@@ -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.