- Issue created by @anaconda777
- 🇵🇹Portugal dxvargas
I am also experiencing a similar situation. in my case, only with two users. When the banned user 2 sends a message to "banning" user 1, the user 1 gets the new message notification.
For now I think we should use the same approach as in the threads notification and filter out messages in threads that have the banned user.
I don't think we should remove the "banning" user 1 from the notifications. Because if that users removes the ban, he should get access again to the threads.
- Merge request !147Issue #3484246: Do not count unread messages in banned threads. → (Merged) created by dxvargas
- 🇵🇹Portugal dxvargas
I have created a MR with a fix.
But I let the issue in status "Needs work".
The tests are failing (but I don't think it's related with my changes).
We need to test also if like this the notifications by email are also prevented.
Maybe some tests? - First commit to issue fork.
- 🇵🇱Poland alorenc Wolsztyn, 🇵🇱
Tests were falling due to #3488863
Yes, I think we need to provide a test for this issue. - 🇵🇹Portugal dxvargas
I have enhanced the existing Functional JavaScript test
testNotifications()
to test a banned user.
Moving to Needs review. - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
We've opened the 4.x branch. Each new fix/feature should be be filled agains the highest branch. After merging we'll decide whether it makes sense to backport to 3.0.x
- Status changed to Needs work
3 months ago 9:04am 17 January 2025 -
claudiu.cristea →
committed a558450b on 4.x authored by
dxvargas →
Issue #3484246 by dxvargas, alorenc, claudiu.cristea, anaconda777: After...
-
claudiu.cristea →
committed a558450b on 4.x authored by
dxvargas →
- 🇷🇴Romania claudiu.cristea Arad 🇷🇴
Merged in 4.x. Thank you!
Now this needs some work to be backported to 3.0x.
- Merge request !174Issue #3484246: Do not count unread messages in banned threads. → (Merged) created by dxvargas
- 🇵🇹Portugal dxvargas
Here is the MR for 3.0.x.
https://git.drupalcode.org/project/private_message/-/merge_requests/174 -
claudiu.cristea →
committed 5af23416 on 3.0.x authored by
dxvargas →
Issue #3484246 by dxvargas, claudiu.cristea, alorenc, anaconda777: After...
-
claudiu.cristea →
committed 5af23416 on 3.0.x authored by
dxvargas →
Automatically closed - issue fixed for 2 weeks with no activity.