D
This commit is contained in:
@@ -69,7 +69,10 @@ export class XPosterRouterService {
|
|||||||
await this.notifyService.sendUrgentMessageToTele('❌Cookie đã hết hạn vui lòng cập nhập để sử dụng.')
|
await this.notifyService.sendUrgentMessageToTele('❌Cookie đã hết hạn vui lòng cập nhập để sử dụng.')
|
||||||
}
|
}
|
||||||
await this.xCacheService.setStateXCookiesIsSillALive();
|
await this.xCacheService.setStateXCookiesIsSillALive();
|
||||||
this.notifyService.sendMessageToTele('✅Verify cookie pass').catch((err) => {})
|
this.notifyService.sendMessageToTele('✅Verify cookie pass').catch((err) => {
|
||||||
|
});
|
||||||
|
|
||||||
|
return isAlive;
|
||||||
}
|
}
|
||||||
|
|
||||||
async canUseXCookies(): Promise<boolean> {
|
async canUseXCookies(): Promise<boolean> {
|
||||||
@@ -295,7 +298,8 @@ export class XPosterRouterService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (method === 'cookie' && account.cookie) {
|
if (method === 'cookie' && account.cookie) {
|
||||||
return await this.cookieSvc.createTweet(account.cookie, text);
|
return {success: false, error: `Method ${method} not implemented`};
|
||||||
|
// return await this.cookieSvc.createTweet(account.cookie, text);
|
||||||
}
|
}
|
||||||
if (method === 'browser' && account.browser) {
|
if (method === 'browser' && account.browser) {
|
||||||
return await this.browserSvc.postTweet(account.browser, text);
|
return await this.browserSvc.postTweet(account.browser, text);
|
||||||
|
|||||||
Reference in New Issue
Block a user