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

Fix active message selection #500

Merged
merged 1 commit into from
Sep 5, 2017
Merged

Conversation

ChristophWurst
Copy link
Member

The state that determines whether a messages is actively shown
or not is stored as a property of the message object. Since
we now use the very same message data in the unified inbox
as in specific ones, a message marked as being active kept its
state when the users switched to the unified inbox. Now all states
are reset to ensure we only have one active message.

Steps to reproduce the bug:

  • configure more than one account
  • load the app
  • go to a specific inbox and select a message (ideally not the first one)
  • go to the unified inbox and see the very same message is still marked as being active, although the first one in the list is actually opened/active

Fixes #466

cc @s-rosenfeld

The state that determines whether a messages is actively shown
or not is stored as a property of the message object. Since
we now use the very same message data in the unified inbox
as in specific ones, a message marked as being active kept its
state when the users switched to the unified inbox. Now all states
are reset to ensure we only have one active message.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added this to the 0.7.3 milestone Sep 5, 2017
@ChristophWurst ChristophWurst self-assigned this Sep 5, 2017
@ChristophWurst ChristophWurst added this to TO REVIEW (max 4) in Christoph's Tasks Sep 5, 2017
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Fixes the issue 👍

@jancborchardt jancborchardt merged commit 01a8fb2 into master Sep 5, 2017
@jancborchardt jancborchardt deleted the fix/active-message-selection branch September 5, 2017 19:13
@ChristophWurst ChristophWurst modified the milestones: 0.7.3, 0.7.2 Sep 5, 2017
@ChristophWurst ChristophWurst mentioned this pull request Sep 5, 2017
@ChristophWurst ChristophWurst moved this from TO REVIEW (max 4) to DONE in Christoph's Tasks Sep 6, 2017
@lock
Copy link

lock bot commented Nov 20, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions.

@lock lock bot locked and limited conversation to collaborators Nov 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants