has moved to IP address -- please double check where you are logging in.

Commit e46dcc0c authored by aroque's avatar aroque

Add subscribed users to dropdown menu.

parent 6478034e
......@@ -102,7 +102,12 @@ class ToSelector extends Widget
$choices[$value] = $groups->getBestName();
// XXX: add users...?
// Add subscribed users to dropdown menu
$users = $this->user->getSubscribed();
while ($users->fetch()) {
$value = 'profile:'.$users->id;
$choices[$value] = $users->getBestName();
if ($this->to instanceof Profile) {
$value = 'profile:'.$this->to->id;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment