diff options
author | joe <joe@jerkface.net> | 2013-10-02 16:39:20 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2013-10-02 16:39:20 -0400 |
commit | 3e72d088abd8acbaaafd2ae49e47de8ae9feaf54 (patch) | |
tree | c2884e6bb867624307a83e970f82296c7a7727bc /Presence/XMPPTypes.hs | |
parent | 5de4d464810726748d3bd4b85e3566126c63a031 (diff) |
Fixed ./b style build failure.
Diffstat (limited to 'Presence/XMPPTypes.hs')
-rw-r--r-- | Presence/XMPPTypes.hs | 5 |
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 | ||
159 | instance L.Show JID where | 159 | instance 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 | ||
162 | instance Prelude.Show JID where | 163 | instance 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 { | |||
267 | data Message = Message { | 268 | data 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 | } |