Do not print twice that we received a list of orphan domains.
This commit is contained in:
parent
71a27d2a35
commit
c7bd61ce36
@ -312,8 +312,7 @@ handleQuery = case _ of
|
|||||||
H.modify_ _ { matching_users = A.filter (\x -> x.uid /= msg.uid) matching_users }
|
H.modify_ _ { matching_users = A.filter (\x -> x.uid /= msg.uid) matching_users }
|
||||||
|
|
||||||
-- Unexpected message.
|
-- Unexpected message.
|
||||||
_ -> do
|
_ -> H.raise $ Log $ ErrorLog $ "Authentication server didn't send a valid message."
|
||||||
H.raise $ Log $ ErrorLog $ "Authentication server didn't send a valid message."
|
|
||||||
pure (Just a)
|
pure (Just a)
|
||||||
|
|
||||||
ConnectionIsDown a -> do
|
ConnectionIsDown a -> do
|
||||||
@ -325,6 +324,5 @@ handleQuery = case _ of
|
|||||||
pure (Just a)
|
pure (Just a)
|
||||||
|
|
||||||
GotOrphanDomainList domains a -> do
|
GotOrphanDomainList domains a -> do
|
||||||
H.raise $ Log $ SuccessLog "Got orphan domain list!"
|
|
||||||
H.modify_ _ { orphan_domains = domains }
|
H.modify_ _ { orphan_domains = domains }
|
||||||
pure (Just a)
|
pure (Just a)
|
||||||
|
Loading…
Reference in New Issue
Block a user