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

Bugfix: Fix post insertion for live created posts #124

Merged
merged 6 commits into from
Nov 29, 2024

Conversation

julian-wls
Copy link
Contributor

Problem Description

When having a channel open and receiving a post from another channel the post gets saved into the currently opened channel. This PR fixes this issue by inserting the correct conversationId into the database. This PR fixes #115

Changes

MetisStorageService has been updated to save the correct conversationId for the post.

Steps for testing

  1. Open a channel on the app
  2. Send a message in a public channel on the website
  3. Check if the message has not been saved in the currently opened channel on the app but in the correct one.

@julian-wls julian-wls self-assigned this Nov 20, 2024
@julian-wls julian-wls added the ready for review This PR can be reviewed label Nov 20, 2024
Copy link
Collaborator

@FelberMartin FelberMartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and the bug does not occur anymore.
Could you please add a test to ensure the proper functionality? You may use a similar structure as in the test introduced in #96

@julian-wls julian-wls added ready to merge This PR can be merged and removed ready for review This PR can be reviewed labels Nov 28, 2024
@FelberMartin FelberMartin merged commit 022853a into develop Nov 29, 2024
5 checks passed
@FelberMartin FelberMartin deleted the bugfix/communication/fix-message-live-inserting branch November 29, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge This PR can be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Message received in wrong channel
3 participants