mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
WIP :D
This commit is contained in:
1 parent
b83a890f48
commit
a9b824d026
3 files changed
+55
-4
No files matched your search
@@ -1,4 +1,11 @@
|
||||
import { EmailEvents, EmailMessageInput, IEmail, IEmailMessage } from '../../typings/email';
|
||||
import {
|
||||
EmailEvents,
|
||||
EmailMessageInput,
|
||||
GlobalEmailEvents,
|
||||
IEmail,
|
||||
IEmailMessage,
|
||||
SendEmailToIdentifierInput,
|
||||
} from '../../typings/email';
|
||||
import { mainLogger } from './sv_logger';
|
||||
import { getIdentifierByEmail, getPlayer, getSource } from './functions';
|
||||
import { pool } from './db';
|
||||
@@ -169,6 +176,11 @@ onNet(EmailEvents.FETCH_INBOX, async () => {
|
||||
}
|
||||
});
|
||||
|
||||
onNet(
|
||||
GlobalEmailEvents.SEND_EMAIL_TO_IDENTIFIER,
|
||||
async ({ identifier, provider, externalActions, phoneActions }: SendEmailToIdentifierInput) => {},
|
||||
);
|
||||
|
||||
onNet(
|
||||
EmailEvents.SEND_EMAIL,
|
||||
async ({ email_id, subject, parent_id, body, receivers }: EmailMessageInput) => {
|
||||
|
||||
Reference in new issue
Block a user