feat: add timestamp to most activity ids

This commit is contained in:
Opliko
2024-06-11 22:55:45 +02:00
parent bb0360bf01
commit 42f514b793
4 changed files with 11 additions and 11 deletions

View File

@@ -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│