mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Phone actions can be triggered from outside the phone via email
This commit is contained in:
1 parent
901d7e95d3
commit
0a5a49b3d5
8 files changed
+67
-32
No files matched your search
@@ -106,7 +106,7 @@ onNet(EmailEvents.FETCH_MESSAGE_ACTIONS, async ({ messageId }: { messageId: numb
|
||||
const actions = await fetchMessageActions(messageId);
|
||||
const phoneActions = mapUnformattedEmailPhoneActions(actions.phoneActions);
|
||||
const externalActions = mapUnformattedEmailExternalActions(actions.externalActions);
|
||||
emitNet(EmailEvents.FETCH_MESSAGE_ACTIONS_SUCCESS, { phoneActions, externalActions });
|
||||
emitNet(EmailEvents.FETCH_MESSAGE_ACTIONS_SUCCESS, _source, { phoneActions, externalActions });
|
||||
} catch (e) {
|
||||
emailLogger.error(`Failed to fetch email message actions, ${e.message}`, {
|
||||
source: _source,
|
||||
|
||||
Reference in new issue
Block a user