summaryrefslogtreecommitdiff
path: root/Presence
diff options
context:
space:
mode:
Diffstat (limited to 'Presence')
-rw-r--r--Presence/ConfigFiles.hs2
-rw-r--r--Presence/XMPPServer.hs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Presence/ConfigFiles.hs b/Presence/ConfigFiles.hs
index f0e18f70..48049c08 100644
--- a/Presence/ConfigFiles.hs
+++ b/Presence/ConfigFiles.hs
@@ -12,7 +12,7 @@ import Control.Exception
12import Control.Monad 12import Control.Monad
13import Todo 13import Todo
14import Control.DeepSeq 14import Control.DeepSeq
15import ByteStringOperators 15import ByteStringOperators() -- For NFData instance
16 16
17type User = ByteString 17type User = ByteString
18 18
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs
index 54ee0975..2329488e 100644
--- a/Presence/XMPPServer.hs
+++ b/Presence/XMPPServer.hs
@@ -488,6 +488,7 @@ startPeer session_factory sock st = do
488 js <- fmap Set.toList (readTVarIO jids) 488 js <- fmap Set.toList (readTVarIO jids)
489 let offline jid = Presence jid Offline 489 let offline jid = Presence jid Offline
490 forM_ js $ announcePresence session . offline 490 forM_ js $ announcePresence session . offline
491 closeSession session
491 return ( (session,jids) .*. ConnectionFinalizer quit .*. st ) 492 return ( (session,jids) .*. ConnectionFinalizer quit .*. st )
492 493
493doPeer st elem cont = do 494doPeer st elem cont = do