summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go
new file mode 100644
index 00000000..b8d61e74
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/einterfaces/emoji.go
@@ -0,0 +1,12 @@
+// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package einterfaces
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type EmojiInterface interface {
+ CanUserCreateEmoji(string, []*model.TeamMember) bool
+}