4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 18:59:24 +00:00

Add ability to show when user is typing across Slack bridges (#559)

This commit is contained in:
Patrick Connolly
2018-11-09 03:45:40 +08:00
committed by Wim
parent ea86849a58
commit 3d281b3316
5 changed files with 55 additions and 3 deletions

View File

@ -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