From 681bb85bc2f7c555f474bc028a415905027ce6e8 Mon Sep 17 00:00:00 2001 From: Jonathan Hedstrom Date: Fri, 28 Apr 2017 09:46:39 -0400 Subject: [PATCH] Issue #2299083 by manatwo, kevin.dutra: Users receive duplicate notifications when queue is enabled --- src/Subscribers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Subscribers.php b/src/Subscribers.php index 1cfbe1c..287902a 100644 --- a/src/Subscribers.php +++ b/src/Subscribers.php @@ -291,6 +291,7 @@ public function getSubscribers(EntityInterface $entity, MessageInterface $messag $this->addDefaultNotifiers($uids); $this->moduleHandler->alter('message_subscribe_get_subscribers', $uids, $values); + ksort($uids); return $uids;