This commit is contained in:
NAME
2026-05-23 16:36:37 +00:00
parent 9d2b9a1f90
commit 6d66ecb13e
2 changed files with 13 additions and 3 deletions
+12 -2
View File
@@ -348,11 +348,16 @@ export class XPosterRouterService {
}
}
if (method === 'browser' && account.browser) {
return await this.browserSvc.postReply(
return await this.browserProfileSvc.postReply(
account.browser,
params.tweetUrl,
params.text
);
// return await this.browserSvc.postReply(
// account.browser,
// params.tweetUrl,
// params.text
// );
}
return {success: false, error: `Method ${method} not configured`};
} catch (e: any) {
@@ -393,11 +398,16 @@ export class XPosterRouterService {
}
}
if (method === 'browser' && account.browser) {
return await this.browserSvc.postQuote(
return await this.browserProfileSvc.postQuote(
account.browser,
params.tweetUrl!,
params.text
);
// return await this.browserSvc.postQuote(
// account.browser,
// params.tweetUrl!,
// params.text
// );
}
return {success: false, error: `Method ${method} not configured`};
} catch (e: any) {
+1 -1
View File
@@ -46,7 +46,7 @@ export class XPwService implements OnModuleDestroy {
chromiumSandbox: true,
viewport: {
width: width,
height: height,
height: height-100,
}
});
}