summaryrefslogtreecommitdiff
path: root/Assistant/Threads/XMPPPusher.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Threads/XMPPPusher.hs')
-rw-r--r--Assistant/Threads/XMPPPusher.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Threads/XMPPPusher.hs b/Assistant/Threads/XMPPPusher.hs
index ec11b9b94..bff17356d 100644
--- a/Assistant/Threads/XMPPPusher.hs
+++ b/Assistant/Threads/XMPPPusher.hs
@@ -78,4 +78,5 @@ selectNextPush lastpushedto l = go [] l
(Pushing clientid _)
| Just clientid /= lastpushedto -> (m, rejected ++ ms)
_ -> go (m:rejected) ms
- go [] [] = undefined
+ go [] [] = error "empty push queue"
+