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

pull/1/head
yflory 5 years ago
parent d091102807
commit 1d0c2bded6

@ -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