summaryrefslogtreecommitdiff
path: root/dht/Presence/Presence.hs
diff options
context:
space:
mode:
Diffstat (limited to 'dht/Presence/Presence.hs')
-rw-r--r--dht/Presence/Presence.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dht/Presence/Presence.hs b/dht/Presence/Presence.hs
index c54c3659..87c00656 100644
--- a/dht/Presence/Presence.hs
+++ b/dht/Presence/Presence.hs
@@ -78,8 +78,8 @@ localJID user profile resource =
78-- unique value should be able to hold a reference to the ToxID identity which 78-- unique value should be able to hold a reference to the ToxID identity which
79-- should stay online until all interested keys have run 'deactivateAccount'. 79-- should stay online until all interested keys have run 'deactivateAccount'.
80data ToxManager k = ToxManager 80data ToxManager k = ToxManager
81 -- | Put the given ToxID online. 81 { -- | Put the given ToxID online.
82 { activateAccount :: k -> Text -> SecretKey -> IO () 82 activateAccount :: k -> Text -> SecretKey -> IO ()
83 -- | Take the given ToxID offline (assuming no other /k/ has a claim). 83 -- | Take the given ToxID offline (assuming no other /k/ has a claim).
84 , deactivateAccount :: k -> Text -> IO () 84 , deactivateAccount :: k -> Text -> IO ()
85 , toxConnections :: Connection.Manager ToxProgress ToxContact 85 , toxConnections :: Connection.Manager ToxProgress ToxContact