diff options
Diffstat (limited to 'Presence/main.hs')
-rw-r--r-- | Presence/main.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Presence/main.hs b/Presence/main.hs index 0eae8677..bf4809a8 100644 --- a/Presence/main.hs +++ b/Presence/main.hs | |||
@@ -168,6 +168,10 @@ instance JabberClientSession ClientSession where | |||
168 | L.putStrLn $ "cached presence: " <++> bshow p | 168 | L.putStrLn $ "cached presence: " <++> bshow p |
169 | action p | 169 | action p |
170 | 170 | ||
171 | addSolicited s jid = do | ||
172 | user <- readIORef (unix_uid s) >>= getJabberUserForId | ||
173 | ConfigFiles.addSolicited user jid -- (L.show jid) | ||
174 | |||
171 | getMyBuddies s = do | 175 | getMyBuddies s = do |
172 | user <- readIORef (unix_uid s) >>= getJabberUserForId | 176 | user <- readIORef (unix_uid s) >>= getJabberUserForId |
173 | ConfigFiles.getBuddies user | 177 | ConfigFiles.getBuddies user |