summaryrefslogtreecommitdiff
path: root/src/Network/Tox
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox')
-rw-r--r--src/Network/Tox/ContactInfo.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Network/Tox/ContactInfo.hs b/src/Network/Tox/ContactInfo.hs
index 5f144057..387a6e47 100644
--- a/src/Network/Tox/ContactInfo.hs
+++ b/src/Network/Tox/ContactInfo.hs
@@ -116,12 +116,12 @@ setContactAddr now remoteUserKey addr acc = do
116 Nothing -> update >> notify -- or if we don't have any 116 Nothing -> update >> notify -- or if we don't have any
117 _ -> return () -- otherwise just wait 117 _ -> return () -- otherwise just wait
118 118
119setEstablished :: POSIXTime -> PublicKey -> Account extra -> STM () 119setEstablished :: PublicKey -> Account extra -> STM ()
120setEstablished now remoteUserKey acc = 120setEstablished remoteUserKey acc =
121 writeTChan (eventChan acc) $ SessionEstablished remoteUserKey 121 writeTChan (eventChan acc) $ SessionEstablished remoteUserKey
122 122
123setTerminated :: POSIXTime -> PublicKey -> Account extra -> STM () 123setTerminated :: PublicKey -> Account extra -> STM ()
124setTerminated now remoteUserKey acc = 124setTerminated remoteUserKey acc =
125 writeTChan (eventChan acc) $ SessionTerminated remoteUserKey 125 writeTChan (eventChan acc) $ SessionTerminated remoteUserKey
126 126
127 127