Add contacts in the new menu if the user is logged in

pull/1/head
yflory 7 years ago
parent 78b338c379
commit 4108520d20

@ -699,7 +699,7 @@ define([
var pads_options = [];
Config.availablePadTypes.forEach(function (p) {
if (p === 'drive') { return; }
if (!Cryptpad.isLoggedIn() && Config.registeredOnlyTypes &&
if (!Common.isLoggedIn() && Config.registeredOnlyTypes &&
Config.registeredOnlyTypes.indexOf(p) !== -1) { return; }
pads_options.push({
tag: 'a',

Loading…
Cancel
Save