06/23 Fix broadcast message Admin requirement
This commit is contained in:
@@ -105,7 +105,7 @@ def send():
|
|||||||
user_id = user.id,
|
user_id = user.id,
|
||||||
title = title,
|
title = title,
|
||||||
body = body,
|
body = body,
|
||||||
link = url_for('broadcast.index', _external=False),
|
link = None, # broadcasts are informational — no destination page
|
||||||
event_type = 'admin_broadcast',
|
event_type = 'admin_broadcast',
|
||||||
is_read = False,
|
is_read = False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user