Bug: Broadcast plugin duplicates users

I have found a bug sending broadcast messages.

To reproduce:

  1. Add user 1 to more than one group.
  2. Start Spark and log into as user 2.
  3. From the main menu select the Actions, Broadcast message.
  4. In a Online group user 1 will be shown more that once.

Fixed. See the patch attached.
broadcast-unique.patch.zip (534 Bytes)

Thanks for the patch. Filed as SPARK-1490

Thanks. We will review this patch an commit it to the trunk ASAP.

I reviewed the patch and committed it to the trunk.