4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-09-10 21:12:30 +00:00
Files
.github
bridge
gateway
hook
matterclient
matterhook
vendor
github.com
BurntSushi
Sirupsen
alecthomas
bwmarrin
go-telegram-bot-api
gorilla
jpillora
mattermost
platform
einterfaces
LICENSE.txt
account_migration.go
brand.go
cluster.go
compliance.go
emoji.go
ldap.go
metrics.go
mfa.go
oauthproviders.go
saml.go
model
mattn
mreiferson
mrexodia
nicksnyder
nlopes
pborman
peterhellberg
russross
shurcooL
sorcix
sromku
technoweenie
thoj
golang.org
gopkg.in
manifest
Dockerfile
LICENSE
README-0.6.md
README.md
changelog.md
matterbridge.go
matterbridge.toml.sample
matterbridge.toml.simple
migration.md
2016-07-22 23:15:59 +02:00

23 lines
471 B
Go

// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package einterfaces
import (
"github.com/mattermost/platform/model"
)
type EmojiInterface interface {
CanUserCreateEmoji(string, []*model.TeamMember) bool
}
var theEmojiInterface EmojiInterface
func RegisterEmojiInterface(newInterface EmojiInterface) {
theEmojiInterface = newInterface
}
func GetEmojiInterface() EmojiInterface {
return theEmojiInterface
}