Add mentioned users to thread when replying too
parent
c7d251b206
commit
8fcbdd0666
|
@ -248,6 +248,8 @@ def view(id):
|
|||
addNotification(mentioned, current_user, NotificationType.THREAD_REPLY,
|
||||
msg, thread.getViewURL(), thread.package)
|
||||
|
||||
thread.watchers.append(mentioned)
|
||||
|
||||
msg = "New comment on '{}'".format(thread.title)
|
||||
addNotification(thread.watchers, current_user, NotificationType.THREAD_REPLY, msg, thread.getViewURL(), thread.package)
|
||||
|
||||
|
|
Loading…
Reference in New Issue