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

Allow triggering MessageReceived event even if not using MessageStore #51

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

evil79genius
Copy link

The triggering of MessageReceived event used to happen only if the server has been configured to use MessageStore.
This commit allows processing of messages by an event handler without the need to store them.

@cmendible
Copy link
Owner

Hi @evil79genius thanks for this one. Can you add some unit tests so we are sure that everything works as expected?

@evil79genius
Copy link
Author

Hello @cmendible!
I've modified one of the existing unit tests in order to check both configurations - with useMessageStore set either to true or false.
Let me know if I have to add more checks.

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.

2 participants