-5
atproto/identity/redisdir/redis_directory.go
-5
atproto/identity/redisdir/redis_directory.go
···
112
112
return &he, nil
113
113
}
114
114
115
-
ident.ParsedPublicKey = nil
116
115
entry := identityEntry{
117
116
Updated: time.Now(),
118
117
Identity: ident,
···
195
194
196
195
func (d *RedisDirectory) updateDID(ctx context.Context, did syntax.DID) (*identityEntry, error) {
197
196
ident, err := d.Inner.LookupDID(ctx, did)
198
-
// wipe parsed public key; it's a waste of space and can't serialize
199
-
if nil == err {
200
-
ident.ParsedPublicKey = nil
201
-
}
202
197
// persist the identity lookup error, instead of processing it immediately
203
198
entry := identityEntry{
204
199
Updated: time.Now(),
-2
automod/capture/capture.go
-2
automod/capture/capture.go
+1
-2
automod/capture/testdata/capture_atprotocom.json
+1
-2
automod/capture/testdata/capture_atprotocom.json
-3
automod/engine/fetch_account_meta.go
-3
automod/engine/fetch_account_meta.go
···
16
16
17
17
logger := e.Logger.With("did", ident.DID.String())
18
18
19
-
// wipe parsed public key; it's a waste of space and can't serialize
20
-
ident.ParsedPublicKey = nil
21
-
22
19
// fallback in case client wasn't configured (eg, testing)
23
20
if e.BskyClient == nil {
24
21
logger.Warn("skipping account meta hydration")
+1
-1
automod/rules/quick.go
+1
-1
automod/rules/quick.go
···
9
9
"github.com/bluesky-social/indigo/automod"
10
10
)
11
11
12
-
var botLinkStrings = []string{"ainna13762491", "LINK押して", "→ https://tiny.one/"}
12
+
var botLinkStrings = []string{"ainna13762491", "LINK押して", "→ https://tiny", "⇒ http://tiny"}
13
13
var botSpamTLDs = []string{".today", ".life"}
14
14
var botSpamStrings = []string{"515-9719"}
15
15