mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
feat: handle incoming non-public activities as chat message, #12834
This commit is contained in:
@@ -154,6 +154,9 @@ Helpers.resolveLocalId = async (input) => {
|
||||
const uid = await user.getUidByUserslug(value);
|
||||
return { type: 'user', id: uid, ...activityData };
|
||||
}
|
||||
|
||||
case 'message':
|
||||
return { type: 'message', id: value, ...activityData };
|
||||
}
|
||||
|
||||
return { type: null, id: null, ...activityData };
|
||||
|
||||
Reference in New Issue
Block a user