mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 03:37:28 +01:00
Fix crash on mention on new thread
This commit is contained in:
parent
93f36adfea
commit
6429b2e26d
@ -367,6 +367,7 @@ def new():
|
||||
add_notification(mentioned, current_user, NotificationType.NEW_THREAD,
|
||||
msg, thread.get_view_url(), thread.package)
|
||||
|
||||
if mentioned not in thread.watchers:
|
||||
thread.watchers.append(mentioned)
|
||||
|
||||
notif_msg = "New thread '{}'".format(thread.title)
|
||||
|
Loading…
Reference in New Issue
Block a user