FEATURE: mute/watch/track buttons for private conversations

This commit is contained in:
Sam
2014-01-22 17:46:52 +11:00
parent fc3bad8ff4
commit 7e5a17f277
8 changed files with 66 additions and 12 deletions
+2 -2
View File
@@ -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