~singpolyma/cheogram-smtp

e94f88687630e448dc9a955a9902462294ee2e04 — Stephen Paul Weber 3 months ago 6b8d8c2
Dedup to

Google Voice puts the number in both to and cc for some reason...
1 files changed, 2 insertions(+), 2 deletions(-)

M MMS.hs
M MMS.hs => MMS.hs +2 -2
@@ 18,7 18,7 @@ import qualified Data.MIME            as MIME
import Email
import Util

newtype Tel = Tel Text deriving (Show)
newtype Tel = Tel Text deriving (Show, Eq)

instance Aeson.ToJSON Tel where
	toJSON (Tel tel) = Aeson.toJSON tel


@@ 41,7 41,7 @@ instance Aeson.ToJSON MMS where
			s"message" .= Aeson.object ([
					s"direction" .= "in",
					s"id" .= mid mms,
					s"to" .= to mms,
					s"to" .= nub (to mms),
					s"from" .= from mms,
					s"owner" .= owner mms
				] ++