fix: remove caching logic for Telegram messages in GetTGMessage function, close #40

This commit is contained in:
krau
2025-03-22 15:41:20 +08:00
parent f14c4367f8
commit 8d44b43c82
2 changed files with 0 additions and 11 deletions

View File

@@ -21,8 +21,6 @@ func initCache() {
gob.Register(types.File{})
gob.Register(tg.InputDocumentFileLocation{})
gob.Register(tg.InputPhotoFileLocation{})
gob.Register(tg.Message{})
gob.Register(tg.PeerUser{})
Cache = &CommonCache{cache: freecache.NewCache(10 * 1024 * 1024)}
}