mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix: handle invalid score
This commit is contained in:
		| @@ -231,7 +231,7 @@ Notes.syncUserInboxes = async function (tid) { | ||||
| 	const score = await db.sortedSetScore(`cid:${cid}:tids`, tid); | ||||
|  | ||||
| 	winston.verbose(`[activitypub/syncUserInboxes] Syncing tid ${tid} with ${uids.size} inboxes`); | ||||
| 	await db.sortedSetsAdd(keys, keys.map(() => score), tid); | ||||
| 	await db.sortedSetsAdd(keys, keys.map(() => score || Date.now()), tid); | ||||
| }; | ||||
|  | ||||
| Notes.getTopicPosts = async (tid, uid, start, stop) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user