mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:01:14 +08:00
FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info split it into tabs - Introduce notifications and messages tabs - Stop couting stuff for the user page to speed up rendering - Suppress more information when viewing your own profile
This commit is contained in:
@ -186,6 +186,7 @@ class TopicCreator
|
||||
check_can_send_permission!(topic, group)
|
||||
topic.topic_allowed_groups.build(group_id: group.id)
|
||||
len += 1
|
||||
group.update_columns(:has_messages, true) unless group.has_messages
|
||||
end
|
||||
|
||||
rollback_with!(topic, :target_group_not_found) unless len == names.length
|
||||
|
Reference in New Issue
Block a user