Adding emoji caching (#5433)

This commit is contained in:
Corey Hulen
2017-02-15 19:25:33 -05:00
committed by Joram Wilander
parent 727d067fce
commit 01a8114aa3
4 changed files with 46 additions and 5 deletions

View File

@@ -304,7 +304,7 @@ type PasswordRecoveryStore interface {
type EmojiStore interface {
Save(emoji *model.Emoji) StoreChannel
Get(id string) StoreChannel
Get(id string, allowFromCache bool) StoreChannel
GetByName(name string) StoreChannel
GetAll() StoreChannel
Delete(id string, time int64) StoreChannel