mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
Setting action user_id to null on suspect words.
This commit is contained in:
@@ -16,7 +16,7 @@ const createAction = ({user = {}}, {item_id, item_type, action_type, group_id, m
|
||||
return ActionsService.insertUserAction({
|
||||
item_id,
|
||||
item_type,
|
||||
user_id: user.id,
|
||||
user_id: group_id === 'Matched suspect word filter' ? null : user.id,
|
||||
group_id,
|
||||
action_type,
|
||||
metadata
|
||||
|
||||
Reference in New Issue
Block a user