Make sure you always know yourself in the ownerhsip modal

This commit is contained in:
yflory 2019-09-02 17:58:36 +02:00
parent e76a62c2a5
commit 772ecb7365

View File

@ -154,6 +154,12 @@ define([
return true; return true;
} }
}); });
if (ed === edPublic) {
f = f || user;
if (f.name) {
f.displayName = f.name;
}
}
_owners[ed] = f || { _owners[ed] = f || {
displayName: 'Unknown user: '+ ed, // XXX displayName: 'Unknown user: '+ ed, // XXX
notifications: true, notifications: true,