mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 08:55:36 +02:00
fix: tests, save actor URL into userRemote hash
This commit is contained in:
@@ -185,7 +185,7 @@ async function assertRelation(post) {
|
||||
// Local user is mentioned
|
||||
const { tag } = post._activitypub;
|
||||
let uids = [];
|
||||
if (tag.length) {
|
||||
if (tag && tag.length) {
|
||||
const slugs = tag.reduce((slugs, tag) => {
|
||||
if (tag.type === 'Mention') {
|
||||
const [slug, hostname] = tag.name.slice(1).split('@');
|
||||
|
||||
Reference in New Issue
Block a user