mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:31:18 +08:00
Add comments to relevant sections denoting "create new topic" scenario is not supported for cannot-see-mention (per @coding-horror instruction)
This commit is contained in:
@ -242,6 +242,8 @@ class UsersController < ApplicationController
|
||||
usernames -= groups
|
||||
usernames.each(&:downcase!)
|
||||
|
||||
# Create a New Topic Scenario is not supported (per conversation with codinghorror)
|
||||
# https://meta.discourse.org/t/taking-another-1-7-release-task/51986/7
|
||||
cannot_see = []
|
||||
topic_id = params[:topic_id]
|
||||
unless topic_id.blank?
|
||||
|
Reference in New Issue
Block a user