diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-01-23 11:04:44 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-01-23 08:04:44 -0800 |
commit | 4f4a765e7d0bbfdfecc0c52ae4be35f8d3b737ca (patch) | |
tree | 063aa55db9299f09d4176b201db658f1d7acced5 /store/store.go | |
parent | 599991ea731953f772824ce3ed1e591246aa004f (diff) | |
download | chat-4f4a765e7d0bbfdfecc0c52ae4be35f8d3b737ca.tar.gz chat-4f4a765e7d0bbfdfecc0c52ae4be35f8d3b737ca.tar.bz2 chat-4f4a765e7d0bbfdfecc0c52ae4be35f8d3b737ca.zip |
ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)
* Add POST /emoji/search and GET /emoji/autocomplete API endpoints
* Add constant to be clearer
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 8cb5093ea..2742c0889 100644 --- a/store/store.go +++ b/store/store.go @@ -393,6 +393,7 @@ type EmojiStore interface { GetByName(name string) StoreChannel GetList(offset, limit int, sort string) StoreChannel Delete(id string, time int64) StoreChannel + Search(name string, prefixOnly bool, limit int) StoreChannel } type StatusStore interface { |