mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #109] refactoring message receive handling #88
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @genofire on GitHub (Jan 19, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/109
The parsing of an message and delivery (into SMTP and so on) should be split into two functions:
github.com/binwiederhier/ntfy@c83b5c6e73/server/server.go (L411)Otherwise a handling of multiple message (a batch of message) in one request is not possible like needed here: #104
@genofire commented on GitHub (Jan 19, 2022):
This Workaround over sending an Request should also be solved with it:
github.com/binwiederhier/ntfy@c83b5c6e73/server/server.go (L1005-L1013)@binwiederhier commented on GitHub (Feb 5, 2022):
I think I'll figure out how to structure the code when/if I do #104. Than you for your feedback though. Much appreciated, keep it coming.