use the current resolver for quotes - #524
this might solve the loop problem, if the protection already in place for replies was enough
This commit is contained in:
parent
42d9da161b
commit
2d89b08a08
1 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ export class ApNoteService {
|
|||
> => {
|
||||
if (typeof uri !== 'string' || !/^https?:/.test(uri)) return { status: 'permerror' };
|
||||
try {
|
||||
const res = await this.resolveNote(uri);
|
||||
const res = await this.resolveNote(uri, { resolver });
|
||||
if (res == null) return { status: 'permerror' };
|
||||
return { status: 'ok', res };
|
||||
} catch (e) {
|
||||
|
@ -478,7 +478,7 @@ export class ApNoteService {
|
|||
> => {
|
||||
if (!/^https?:/.test(uri)) return { status: 'permerror' };
|
||||
try {
|
||||
const res = await this.resolveNote(uri);
|
||||
const res = await this.resolveNote(uri, { resolver });
|
||||
if (res == null) return { status: 'permerror' };
|
||||
return { status: 'ok', res };
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue