diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2009-04-24 21:34:59 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2009-04-24 21:34:59 +0000 |
commit | fc9ba11afeff4b4a115d4b7be9558da9edb64ca2 (patch) | |
tree | 7a95e0271c01d6042b2273a93db6915159b1b741 | |
parent | fix minor pubsub init glitch, and allow ejabberd_odbc to execute bloc of quer... (diff) |
minor cosmetic fix
SVN Revision: 2040
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 9bac6f39..98ae6b95 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -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; |