Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-16 13:06:50 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-19 13:48:04 +0300
commita4bba2df5028fab5b3c137c86c98011367142560 (patch)
tree13e168237b2b058987c0048adeda6a7caf594642 /src
parent6a535769866693e3a181820103df3f7718f6579e (diff)
Drop dead message sending code
This code was used before the outbox. Now it's dead. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src')
-rw-r--r--src/service/MessageService.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/service/MessageService.js b/src/service/MessageService.js
index 8473ae56b..b3f64244d 100644
--- a/src/service/MessageService.js
+++ b/src/service/MessageService.js
@@ -195,19 +195,6 @@ export async function saveDraft(accountId, data) {
}
}
-export async function sendMessage(accountId, data) {
- const url = generateUrl('/apps/mail/api/accounts/{accountId}/send', {
- accountId,
- })
-
- try {
- const resp = await axios.post(url, data)
- return resp.data
- } catch (e) {
- throw convertAxiosError(e)
- }
-}
-
export async function deleteMessage(id) {
const url = generateUrl('/apps/mail/api/messages/{id}', {
id,