[openstreetmap/openstreetmap-website] Add UserMute to control message visibility (PR #4284)

Gregory Igelmund notifications at github.com
Wed Dec 6 22:01:54 UTC 2023


@grekko commented on this pull request.



> @@ -107,6 +107,13 @@ def outbox
     @title = t ".title"
   end
 
+  # Display the list of muted messages received by the user.
+  def muted
+    @title = t ".title"
+
+    redirect_to inbox_messages_path if current_user.muted_messages.none?

We also hide the `Muted users`-Tab on the Account-page, so I understand that we settled on this behaviour (for now) => resolving the conversation.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4284#discussion_r1418026424
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4284/review/1768700576 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231206/dd54fd3a/attachment.htm>


More information about the rails-dev mailing list