mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Be more robust when creating names for the subscriber lists
(imported from commit fca2c0f2d9dcee4830394c9be5b08ce81379e4a6)
This commit is contained in:
parent
a15a1702e1
commit
14cccd9787
@ -343,6 +343,10 @@ $(function () {
|
||||
data: {stream: stream},
|
||||
success: function (data) {
|
||||
var subscribers = $.map(data.subscribers, function (elem) {
|
||||
var person = people_dict[elem];
|
||||
if (person === undefined) {
|
||||
return elem;
|
||||
}
|
||||
return people_dict[elem].full_name + ' <' + elem + '>';
|
||||
});
|
||||
$.each(subscribers.sort(), function (idx, elem) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user