From 78de91b07a3b20f1fcb86cb49a110d6b2d2dbcc3 Mon Sep 17 00:00:00 2001 From: Tiago Loureiro Date: Tue, 23 May 2017 11:10:37 +0200 Subject: [PATCH] Prefer gundeck's default for nativeEncrypt --- services/galley/src/Galley/Intra/Push.hs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/galley/src/Galley/Intra/Push.hs b/services/galley/src/Galley/Intra/Push.hs index 9de353d8b..16f9a6985 100644 --- a/services/galley/src/Galley/Intra/Push.hs +++ b/services/galley/src/Galley/Intra/Push.hs @@ -16,7 +16,6 @@ module Galley.Intra.Push , pushConn , pushTransient , pushRoute - , pushNativeEncrypt , pushNativePriority , pushAsync @@ -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 @@ -93,7 +91,6 @@ newPush1 e rr = Push { _pushConn = Nothing , _pushTransient = False , _pushRoute = Gundeck.RouteAny - , _pushNativeEncrypt = False , _pushNativePriority = Nothing , _pushAsync = False , pushJson = toJSONObject e @@ -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)