summaryrefslogtreecommitdiff
path: root/Presence/main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/main.hs')
-rw-r--r--Presence/main.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Presence/main.hs b/Presence/main.hs
index 036d7237..303c4b05 100644
--- a/Presence/main.hs
+++ b/Presence/main.hs
@@ -287,6 +287,11 @@ instance JabberPeerSession PeerSession where
287 Offline -> MM.deleteElemIf u match jids 287 Offline -> MM.deleteElemIf u match jids
288 stat -> maybe jids (\r -> MM.insert u (r,stat) jids) rsc 288 stat -> maybe jids (\r -> MM.insert u (r,stat) jids) rsc
289 289
290 sendPeerMessage session msg = do
291 let cons = outGoingConnections . peer_global $ session
292 putStrLn $ "sendPeerMessage " <++> bshow msg <++> " --> "<++>bshow (peer_name session)
293 sendMessage cons msg (peer_name session)
294
290 getBuddies _ user = ConfigFiles.getBuddies user 295 getBuddies _ user = ConfigFiles.getBuddies user
291 getSubscribers _ user = ConfigFiles.getSubscribers user 296 getSubscribers _ user = ConfigFiles.getSubscribers user
292 297