Test sending a message from a pad (inner iframe)
This commit is contained in:
@@ -451,6 +451,7 @@ define([
|
||||
avatar: Util.find(store.proxy, ['profile', 'avatar']),
|
||||
profile: Util.find(store.proxy, ['profile', 'view']),
|
||||
color: getUserColor(),
|
||||
notifications: Util.find(store.proxy, ['mailboxes', 'notifications', 'channel']),
|
||||
curvePublic: store.proxy.curvePublic,
|
||||
},
|
||||
// "priv" is not shared with other users but is needed by the apps
|
||||
|
||||
@@ -343,6 +343,9 @@ proxy.mailboxes = {
|
||||
if (cmd === 'DISMISS') {
|
||||
return void dismiss(ctx, data, clientId, cb);
|
||||
}
|
||||
if (cmd === 'SENDTO') {
|
||||
return void sendTo(ctx, data.type, data.msg, data.user, cb);
|
||||
}
|
||||
};
|
||||
|
||||
return mailbox;
|
||||
|
||||
Reference in New Issue
Block a user