diff options
Diffstat (limited to 'fetchers/jetstream.go')
| -rw-r--r-- | fetchers/jetstream.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchers/jetstream.go b/fetchers/jetstream.go index 78a2550..866533a 100644 --- a/fetchers/jetstream.go +++ b/fetchers/jetstream.go @@ -103,7 +103,7 @@ func handleJetstreamPost(conf *Config, did, uri string, commit *jetstreamCommit) } // only track posts from authors we already care about - author, found := conf.Cache.GetAuthor(did) + author, found := conf.Cache.readAuthor(did) if !found { return } @@ -118,13 +118,13 @@ func handleJetstreamPost(conf *Config, did, uri string, commit *jetstreamCommit) func handleJetstreamProfile(conf *Config, did string, commit *jetstreamCommit) { if commit.Operation == "delete" { - if _, found := conf.Cache.GetAuthor(did); found { + if _, found := conf.Cache.readAuthor(did); found { conf.Cache.DeleteAuthor(did) } return } - existing, found := conf.Cache.GetAuthor(did) + existing, found := conf.Cache.readAuthor(did) if !found { return } |
