summaryrefslogtreecommitdiff
path: root/XMPPToTox.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2018-09-08 06:25:55 -0400
committerJoe Crayne <joe@jerkface.net>2018-09-08 08:36:05 -0400
commitadf62395931f4b90491cc1338b9a5105da98fbbe (patch)
tree1177cc719fdd2e5449e03963fb32b24b7017a94a /XMPPToTox.hs
parentad20be57786ad34f80192206c480d575392b4ebb (diff)
Factored Data.Tox.Message out of Network.Tox.Crypto.Transport.
Diffstat (limited to 'XMPPToTox.hs')
-rw-r--r--XMPPToTox.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/XMPPToTox.hs b/XMPPToTox.hs
index f0505ac7..d4da814c 100644
--- a/XMPPToTox.hs
+++ b/XMPPToTox.hs
@@ -12,14 +12,15 @@ import Control.Monad.Catch
12import Data.Conduit 12import Data.Conduit
13import Data.Function 13import Data.Function
14import Data.Monoid 14import Data.Monoid
15import Data.Text (Text) 15import Data.Text (Text)
16import Data.Text.Encoding as T 16import Data.Text.Encoding as T
17import Data.Word 17import Data.Word
18import Data.XML.Types as XML 18import Data.XML.Types as XML
19import Network.Tox.Crypto.Transport (CryptoMessage (..), MessageID (..)) 19import Text.XML.Stream.Parse as XML
20import Text.XML.Stream.Parse as XML
21 20
22import XMPPServer (JabberShow(..)) 21import Data.Tox.Message
22import Network.Tox.Crypto.Transport (CryptoMessage (..))
23import XMPPServer (JabberShow (..))
23 24
24-- Debugging. Not real Tox message. 25-- Debugging. Not real Tox message.
25funnyMessage :: MonadThrow m => Text -> ConduitM i CryptoMessage m () 26funnyMessage :: MonadThrow m => Text -> ConduitM i CryptoMessage m ()