Skip to content

Commit

Permalink
fix: trending post
Browse files Browse the repository at this point in the history
  • Loading branch information
swkatmask committed Feb 4, 2025
1 parent 9afacc2 commit 9c217a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/bsky/SocialMedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,10 @@ export class BskySocialMedia implements Provider {
);
}
async getSuggestedFollows(indicator?: PageIndicator) {
const size = 25;
if (!bskySessionHolder.session) {
return createPageable([], indicator);
}
const size = 20;
const res = await bskySessionHolder.agent.getSuggestions({
limit: size,
cursor: indicator?.id,
Expand Down
2 changes: 2 additions & 0 deletions src/providers/firefly/Endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ export class FireflyEndpoint {
}

async isProfileMuted(platform: FireflyPlatform, profileId: string): Promise<boolean> {
// TODO not support bsky yet.
if (platform === FireflyPlatform.Bsky) return false;
const blockRelationList = await this.getBlockRelation([
{
snsPlatform: platform,
Expand Down

0 comments on commit 9c217a7

Please sign in to comment.