Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/undelivered events #1694

Merged

Conversation

mepeltier
Copy link
Contributor

This PR adds in a number of events which are emitted when a message is undelivered.

These events can be leveraged by plugins to take certain actions when messages are undelivered, such as writing the message to a persistent queue, sending a push notification to a mobile device that attempted to send the message, or some other action.

The events leverage the existing OutboundSendStatus states and don’t supersede the current return value. The OutboundSendStatus is still returned within ACA-Py as it has been, so this shouldn’t impact any existing functionality, but I’d be happy to hear any concerns I’ve not thought of. Thanks to @dbluhm for his feedback prior to this PR being opened.

@mepeltier mepeltier force-pushed the feature/undelivered-events branch from 4868141 to c80ed59 Compare March 29, 2022 15:33
@dbluhm
Copy link
Contributor

dbluhm commented Mar 29, 2022

I was involved in this PR behind the scenes so probably a good idea to get a review from another ACA-Py commiter 🙂

@ianco
Copy link
Contributor

ianco commented Apr 5, 2022

@mepeltier can you sync your PR with the latest main branch? Thanks!

@swcurran swcurran merged commit 74b5792 into openwallet-foundation:main Apr 5, 2022
@dbluhm dbluhm deleted the feature/undelivered-events branch July 7, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants