diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-10-13 18:23:53 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-10-13 18:23:53 -0400 |
commit | 56b02f2ebab6646b1d978b8f873d4949670967e2 (patch) | |
tree | 687fa2ccd73e1e122a56a3b9c9deedc18096bcbf /store/store.go | |
parent | 998b5f7e11ac07a482e88f5d3ef4fd726cf0c99a (diff) | |
parent | 97b2f6ffe7fa09a2188163740865322582b00b59 (diff) | |
download | chat-56b02f2ebab6646b1d978b8f873d4949670967e2.tar.gz chat-56b02f2ebab6646b1d978b8f873d4949670967e2.tar.bz2 chat-56b02f2ebab6646b1d978b8f873d4949670967e2.zip |
Merge pull request #968 from hmhealey/plt322
PLT-322 Updated Direct Messages menu
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index e539bc98a..6e1614ccb 100644 --- a/store/store.go +++ b/store/store.go @@ -37,6 +37,7 @@ type Store interface { OAuth() OAuthStore System() SystemStore Webhook() WebhookStore + Preference() PreferenceStore Close() } @@ -149,3 +150,9 @@ type WebhookStore interface { GetIncomingByUser(userId string) StoreChannel DeleteIncoming(webhookId string, time int64) StoreChannel } + +type PreferenceStore interface { + Save(preferences *model.Preferences) StoreChannel + Get(userId string, category string, name string) StoreChannel + GetCategory(userId string, category string) StoreChannel +} |