mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FEATURE: mute/watch/track buttons for private conversations
This commit is contained in:
@@ -14,8 +14,8 @@ class TopicNotifier
|
||||
|
||||
end
|
||||
|
||||
def watch_topic!(user_id)
|
||||
change_level user_id, :watching, :created_topic
|
||||
def watch_topic!(user_id, reason = :created_topic)
|
||||
change_level user_id, :watching, reason
|
||||
end
|
||||
|
||||
# Enable/disable the mute on the topic
|
||||
|
||||
Reference in New Issue
Block a user