Test sending a message from a pad (inner iframe)

This commit is contained in:
yflory
2019-05-17 17:42:33 +02:00
parent 9ead40a332
commit 7fd3bba2a6
4 changed files with 30 additions and 2 deletions

View File

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