mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 17:19:41 +08:00
fix: remove caching logic for Telegram messages in GetTGMessage function, close #40
This commit is contained in:
@@ -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)}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user