mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
feat: add timestamp to most activity ids
This commit is contained in:
@@ -130,8 +130,8 @@ Helpers.resolveLocalId = async (input) => {
|
||||
|
||||
let activityData = {};
|
||||
if (hash.startsWith('#activity')) {
|
||||
const [, activity, data] = hash.split('/', 3);
|
||||
activityData = { activity, data };
|
||||
const [, activity, data, timestamp] = hash.split('/', 4);
|
||||
activityData = { activity, data, timestamp };
|
||||
}
|
||||
|
||||
// https://bb.devnull.land/cid/2#activity/follow/activitypub@community.nodebb.org│
|
||||
|
||||
Reference in New Issue
Block a user