mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #979] Inform the client if it subscribes to a new topic #1484
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#1484
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?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/979
Author: @karmanyaahm
Created: 12/16/2023
Status: 🔄 Open
Base:
main← Head:main📝 Commits (6)
1c6aebeReject Matrix with 200 and rejected pushkey instead of returning 5xx072520erename UnifiedPush can't publish error to 4048f5213akeep track of topics that have never been subscribed to9bbb1acadd the "new_topic" param to the open message0d607c7Return new_topic in open message when a fresh topic is subscribed toec79778format📊 Changes
8 files changed (+104 additions, -49 deletions)
View changed files
📝
server/errors.go(+2 -2)📝
server/message_cache_test.go(+2 -2)📝
server/server.go(+14 -14)📝
server/server_firebase_test.go(+1 -1)📝
server/server_matrix.go(+0 -9)📝
server/server_test.go(+57 -7)📝
server/topic.go(+17 -8)📝
server/types.go(+11 -6)📄 Description
Deployment
I think the Android app needs to be released first, before the server is deployed, so the client can deal with the case of re-registration on 404.
Paired with https://github.com/binwiederhier/ntfy-android/pull/70
Closes https://github.com/binwiederhier/ntfy/issues/664
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.