summaryrefslogtreecommitdiff
path: root/Presence/XMPPTypes.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-10-02 16:39:20 -0400
committerjoe <joe@jerkface.net>2013-10-02 16:39:20 -0400
commit3e72d088abd8acbaaafd2ae49e47de8ae9feaf54 (patch)
treec2884e6bb867624307a83e970f82296c7a7727bc /Presence/XMPPTypes.hs
parent5de4d464810726748d3bd4b85e3566126c63a031 (diff)
Fixed ./b style build failure.
Diffstat (limited to 'Presence/XMPPTypes.hs')
-rw-r--r--Presence/XMPPTypes.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Presence/XMPPTypes.hs b/Presence/XMPPTypes.hs
index 7ee09189..41ce07c2 100644
--- a/Presence/XMPPTypes.hs
+++ b/Presence/XMPPTypes.hs
@@ -157,7 +157,8 @@ instance Ord Peer where
157 a <= b = False 157 a <= b = False
158 158
159instance L.Show JID where 159instance L.Show JID where
160 showp (JID n s r ) = putBuilder . B.fromLazyByteString $ n <$++> "@" <?++> showPeer s <++?> "/" <++$> r 160 showp (JID n s r ) = -- putBuilder . B.fromLazyByteString $ n <$++> "@" <?++> showPeer s <++?> "/" <++$> r
161 L.putUTF8Str . L.unpack $ n <$++> "@" <?++> showPeer s <++?> "/" <++$> r
161 162
162instance Prelude.Show JID where 163instance Prelude.Show JID where
163 show jid = L.unpack $ L.show jid 164 show jid = L.unpack $ L.show jid
@@ -267,6 +268,8 @@ data LangSpecificMessage = LangSpecificMessage {
267data Message = Message { 268data Message = Message {
268 msgTo :: JID, 269 msgTo :: JID,
269 msgFrom :: JID, 270 msgFrom :: JID,
271 -- msgType
272 -- msgId
270 msgThread :: Maybe MessageThread, 273 msgThread :: Maybe MessageThread,
271 msgLangMap :: Map S.Text (LangSpecificMessage) 274 msgLangMap :: Map S.Text (LangSpecificMessage)
272 } 275 }