We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e46dcc0c authored by aroquen's avatar aroquen

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