feat: sync built-in sticker bot
This commit is contained in:
parent
7096625e13
commit
6867d201ed
60 changed files with 7063 additions and 144 deletions
|
|
@ -52,3 +52,10 @@ func (r *Router) stickerCatalogSets(ctx context.Context, kind domain.StickerSetK
|
|||
}
|
||||
return sets
|
||||
}
|
||||
|
||||
func (r *Router) invalidateStickerCatalog(kind domain.StickerSetKind) {
|
||||
if r.stickerCatalog == nil || r.stickerCatalog.cache == nil {
|
||||
return
|
||||
}
|
||||
r.stickerCatalog.cache.Invalidate(kind)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue