Don't try to send a mailbox message as an anonymous user

pull/1/head
yflory 5 years ago committed by ansuz
parent b868acc641
commit fe36d1ca12

@ -478,6 +478,7 @@ define([
store: store,
};
var myData = Messaging.createData(userObject);
if (!myData.curvePublic) { return void done(); }
Mailbox.sendTo(ctx, 'SAFE_LINKS_DEFAULT', {
user: myData,

Loading…
Cancel
Save