diff options
author | joe <joe@jerkface.net> | 2017-10-31 00:09:17 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-10-31 00:09:17 -0400 |
commit | 9e691f4f4848262807445cef14cafb5baeb10ca3 (patch) | |
tree | f19aa51efaf69d6d04a2ea257de0280ce400f929 /src/Network | |
parent | 368bb61f147b2b59cf33ada8e76f285a1992a4f1 (diff) |
hush some warnings.
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/Tox/Crypto/Transport.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Network/Tox/Crypto/Transport.hs b/src/Network/Tox/Crypto/Transport.hs index d89ac80d..634a7a43 100644 --- a/src/Network/Tox/Crypto/Transport.hs +++ b/src/Network/Tox/Crypto/Transport.hs | |||
@@ -32,7 +32,7 @@ module Network.Tox.Crypto.Transport | |||
32 | , HasMessage(..) | 32 | , HasMessage(..) |
33 | , HasMessageType(..) | 33 | , HasMessageType(..) |
34 | -- lenses | 34 | -- lenses |
35 | , userStatus, nick, statusMessage, typingStatus, message, action, groupChatID | 35 | , userStatus, nick, statusMessage, typingStatus, action, groupChatID |
36 | , groupNumber, groupNumberToJoin, peerNumber, messageNumber | 36 | , groupNumber, groupNumberToJoin, peerNumber, messageNumber |
37 | , messageName, messageData, name, title, message, messageType | 37 | , messageName, messageData, name, title, message, messageType |
38 | -- constructor | 38 | -- constructor |
@@ -559,6 +559,7 @@ msgSizeParam MESSAGE_GROUPCHAT {-0x63-} = Nothing -- variable | |||
559 | msgSizeParam LOSSY_GROUPCHAT {-0xC7-} = Nothing -- variable | 559 | msgSizeParam LOSSY_GROUPCHAT {-0xC7-} = Nothing -- variable |
560 | msgSizeParam _ = Nothing | 560 | msgSizeParam _ = Nothing |
561 | 561 | ||
562 | isIndirectGrpChat :: MessageID -> Bool | ||
562 | isIndirectGrpChat MESSAGE_GROUPCHAT = True | 563 | isIndirectGrpChat MESSAGE_GROUPCHAT = True |
563 | isIndirectGrpChat LOSSY_GROUPCHAT = True | 564 | isIndirectGrpChat LOSSY_GROUPCHAT = True |
564 | isIndirectGrpChat _ = False | 565 | isIndirectGrpChat _ = False |