]> granicus.if.org Git - ejabberd/commitdiff
minor cosmetic fix
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 24 Apr 2009 21:34:59 +0000 (21:34 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 24 Apr 2009 21:34:59 +0000 (21:34 +0000)
SVN Revision: 2040

src/mod_pubsub/mod_pubsub.erl

index 9bac6f39bba87336a7812ea00a3e4d4348bde8c6..98ae6b950e94006ea77e737e15d6656cc071d3b1 100644 (file)
@@ -367,7 +367,7 @@ send_loop(State) ->
                            case S of
                            ServerHost -> %% local contact, so we may have pep items
                                PeerJID = jlib:make_jid(U, S, R),
-                               handle_cast({presence, User, Server, [Resource], PeerJID}, State);
+                               self() ! {presence, User, Server, [Resource], PeerJID};
                            _ -> %% remote contact, no items available
                                ok
                            end;