This commit is contained in:
Saahil 2024-12-16 22:51:12 -05:00
parent 0f82afe9ec
commit fdc0c1aebb
No known key found for this signature in database
GPG key ID: 8A8B64515254CFC6

View file

@ -84,8 +84,9 @@ export default class AppHome implements Command {
value: "send_mail",
action_id: "send_mail",
},
elements: app.dbs.anondm
},
...app.dbs.anondm
//@ts-ignore
.get(usersInDb.find((e) => bcrypt.compareSync(event.user, e)))
.messages.filter((e) => {
@ -108,9 +109,18 @@ export default class AppHome implements Command {
type: "mrkdwn",
text: `> :email_unread: New Message`,
},
accessory: {
type: "button",
text: {
type: "plain_text",
text: "Open",
emoji: true,
},
value: "open_mail_v",
action_id: "open_mail_actionid",
}
};
}),
},
];
//@ts-ignore
if (process.env.MY_USER_ID !== event.user)