Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Is it possible to actively revoke already sent notifications from the server?

Aperta
#782 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go
Ambito
api, backend

Direzione di ricerca

Non viene indicato alcun file sorgente o test. Inizia dall'API di notifica del server e dal comportamento di consegna, quindi determina se la revoca può coprire le notifiche già consegnate, i client offline e tutti i dispositivi sottoscritti. Il lavoro è completo quando esiste un limite di capacità documentato o un piano di implementazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

question

Have you read the documentation?

  • Yes, but it does not include related information regarding my question.
  • Yes, but the steps described in the documentation do not work on my machine.
  • Yes, but I am having difficulty understanding it and want clarification.

You are setting up gotify in

  • Docker
  • Linux native platform
  • Windows native platform

Question

I need my server to be able to actively revoke already sent notifications from all clients. By revoke I mean that the already shown notification should be hidden automatically w/o any user interaction.

Is this possible?

I did not find any information on this in the docs, so I guess it is not possible but I wanted to be sure.

My use case

I have a personal reminder app to which multiple clients are subscribed to (e.g. desktop pc & mobile). When interacting with the notification on 1 client, it should be removed/revoked on all other clients. E.g. when clicking on the notification on a desktop pc, it should be automatically removed on my mobile and vice versa.

Also:

  • The notifications shall be revokable from my server w/o any direct user interaction with any notification.
    E.g.: The notification has been sent to all clients. I don't click on any of the notifications but open the reminder directly within my web app -> All notifications shall be revoked.
  • If a client is offline whilst the notification is being sent and the notification is revoked before it comes online, the notification shall never appear on the client.

Some more context:

ATM I'm using web push in combination with a PWA. This works technically and allowed me to implement all the features I need (revokability etc.). However, notifications on Android are very unreliable. Some appear an hour after they have been sent by the server, some don't ever appear at all. I'm therefore looking for alternative ways to notify my clients.

Lingua principale
Go
Stelle
16k
Fork
878
Merge medio
2g 15h
PR unite (30g)
5

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di gotify/server

Tutte le issue di gotify/server

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.