summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
authorPatrick Connolly <patrick.c.connolly@gmail.com>2018-11-09 03:45:40 +0800
committerWim <wim@42.be>2018-11-08 20:45:40 +0100
commit3d281b3316a68a265efb0f024755e8d1c3863bd5 (patch)
tree55c6f428b23a3857a7f45263769a84acf633c130 /bridge/config
parentea86849a5855e58fd4633117416a21fde753751f (diff)
downloadmatterbridge-msglm-3d281b3316a68a265efb0f024755e8d1c3863bd5.tar.gz
matterbridge-msglm-3d281b3316a68a265efb0f024755e8d1c3863bd5.tar.bz2
matterbridge-msglm-3d281b3316a68a265efb0f024755e8d1c3863bd5.zip
Add ability to show when user is typing across Slack bridges (#559)
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index bdf77f88..9d335cac 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -23,6 +23,7 @@ const (
EVENT_USER_ACTION = "user_action"
EVENT_MSG_DELETE = "msg_delete"
EVENT_API_CONNECTED = "api_connected"
+ EVENT_USER_TYPING = "user_typing"
)
type Message struct {
@@ -110,6 +111,7 @@ type Protocol struct {
Server string // IRC,mattermost,XMPP,discord
ShowJoinPart bool // all protocols
ShowTopicChange bool // slack
+ ShowUserTyping bool // slack
ShowEmbeds bool // discord
SkipTLSVerify bool // IRC, mattermost
StripNick bool // all protocols