Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into eric/app-864-integrate-pos…
Browse files Browse the repository at this point in the history
…t-tags-into-app

* origin:
  Fix bug that prevents unfollowing (#1633)
  • Loading branch information
estrattonbailey committed Oct 9, 2023
2 parents 6c25ca8 + 77b21df commit 3bcce36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/models/cache/my-follows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export class MyFollowsCache {

getFollowUri(did: string): string {
const v = this.byDid[did]
if (typeof v === 'string') {
return v
if (v && typeof v.followRecordUri === 'string') {
return v.followRecordUri
}
throw new Error('Not a followed user')
}
Expand Down

0 comments on commit 3bcce36

Please sign in to comment.