Skip to content

fix: get rid of denied notification when accept - #48734

Merged
nickvergessen merged 3 commits into
masterfrom
fix/45884/accept-notification
Oct 17, 2024
Merged

fix: get rid of denied notification when accept#48734
nickvergessen merged 3 commits into
masterfrom
fix/45884/accept-notification

Conversation

@Antreesy

@AntreesyAntreesy commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

Summary

  • both accept and reject mark notification as processed, which ends up in dismissNotification()
  • during accept BG job is created, we check it on dismiss: if BG job is there, transfer was accepted, otherwise - denied
  • added an icon for notification
BeforeAfter
imageimage

TODO

  • ...

Checklist

@Antreesy
Antreesyforce-pushed the fix/45884/accept-notification branch 2 times, most recently from 56ed136 to b9c5fd4CompareOctober 16, 2024 13:14
@AntreesyAntreesy self-assigned this Oct 16, 2024
@AntreesyAntreesy added this to the Nextcloud 31 milestone Oct 16, 2024
@Antreesy
Antreesy marked this pull request as ready for review October 16, 2024 13:15
- do not create 'denied' notification if bg job exists
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
- this reverts 1e8048a
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy
Antreesyforce-pushed the fix/45884/accept-notification branch from b9c5fd4 to 73b34bbCompareOctober 16, 2024 15:32
@Antreesy
Antreesy enabled auto-merge October 16, 2024 15:32
@nickvergessen
nickvergessen merged commit 681ee75 into masterOct 17, 2024
@nickvergessen
nickvergessen deleted the fix/45884/accept-notification branch October 17, 2024 06:39
@Antreesy

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@Antreesy

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@Antreesy

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Antreesy@nickvergessen@susnux@juliusknorr