summaryrefslogtreecommitdiff
path: root/Presence/main.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-06-17 02:21:57 -0400
committerjoe <joe@jerkface.net>2013-06-17 02:21:57 -0400
commit57a7a887adb443c516230ac23602b52e1d94d240 (patch)
tree98aaf54a7e26315fcde477153394fcda8bbf02fe /Presence/main.hs
parent87c5c2ae4fb60b58dcfb172c5e9b44151b02d777 (diff)
progress on sessions
Diffstat (limited to 'Presence/main.hs')
-rw-r--r--Presence/main.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Presence/main.hs b/Presence/main.hs
index 63ebf817..7a5939ff 100644
--- a/Presence/main.hs
+++ b/Presence/main.hs
@@ -41,10 +41,10 @@ data UnixSession = UnixSession
41 41
42instance XMPPSession UnixSession where 42instance XMPPSession UnixSession where
43 data XMPPClass UnixSession = UnixSessions 43 data XMPPClass UnixSession = UnixSessions
44 newSession _ sock handle = return UnixSession 44 newSession _ sock handle = putStrLn "SESSION: open" >> return UnixSession
45 setResource _ resource = return () 45 setResource _ resource = putStrLn "SESSION: resource"
46 getJID _ = return "nobody@fake.bad" 46 getJID _ = putStrLn "SESSION: jid" >> return "nobody@fake.bad"
47 closeSession _ = return () 47 closeSession _ = putStrLn "SESSION: close" >> return ()
48 48
49on_chvt vtnum = do 49on_chvt vtnum = do
50 putStrLn $ "changed vt to "++ show vtnum 50 putStrLn $ "changed vt to "++ show vtnum