Skip to content

Commit

Permalink
Merge pull request haskell-servant#13 from wireapp/prefer-gundeck-def…
Browse files Browse the repository at this point in the history
…aults

Prefer gundeck's default for nativeEncrypt
  • Loading branch information
tiago-loureiro authored May 23, 2017
2 parents 8ee8901 + 78de91b commit 00d3e60
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions services/galley/src/Galley/Intra/Push.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module Galley.Intra.Push
, pushConn
, pushTransient
, pushRoute
, pushNativeEncrypt
, pushNativePriority
, pushAsync

Expand Down Expand Up @@ -78,7 +77,6 @@ data Push = Push
{ _pushConn :: !(Maybe ConnId)
, _pushTransient :: !Bool
, _pushRoute :: !Gundeck.Route
, _pushNativeEncrypt :: !Bool
, _pushNativePriority :: !(Maybe Gundeck.Priority)
, _pushAsync :: !Bool
, pushOrigin :: !UserId
Expand All @@ -93,7 +91,6 @@ newPush1 e rr = Push
{ _pushConn = Nothing
, _pushTransient = False
, _pushRoute = Gundeck.RouteAny
, _pushNativeEncrypt = False
, _pushNativePriority = Nothing
, _pushAsync = False
, pushJson = toJSONObject e
Expand Down Expand Up @@ -145,7 +142,6 @@ push ps = do
Gundeck.newPush (pushOrigin p) (unsafeRange (Set.fromList r)) pload
& Gundeck.pushOriginConnection .~ _pushConn p
& Gundeck.pushTransient .~ _pushTransient p
& Gundeck.pushNativeEncrypt .~ _pushNativeEncrypt p
& maybe id (set Gundeck.pushNativePriority) (_pushNativePriority p)


Expand Down

0 comments on commit 00d3e60

Please sign in to comment.