summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index fdb6e55c..91e2b4b9 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -10,12 +10,13 @@ import (
)
const (
- EVENT_JOIN_LEAVE = "join_leave"
- EVENT_TOPIC_CHANGE = "topic_change"
- EVENT_FAILURE = "failure"
- EVENT_REJOIN_CHANNELS = "rejoin_channels"
- EVENT_USER_ACTION = "user_action"
- EVENT_MSG_DELETE = "msg_delete"
+ EVENT_JOIN_LEAVE = "join_leave"
+ EVENT_TOPIC_CHANGE = "topic_change"
+ EVENT_FAILURE = "failure"
+ EVENT_FILE_FAILURE_SIZE = "file_failure_size"
+ EVENT_REJOIN_CHANNELS = "rejoin_channels"
+ EVENT_USER_ACTION = "user_action"
+ EVENT_MSG_DELETE = "msg_delete"
)
type Message struct {
@@ -38,6 +39,7 @@ type FileInfo struct {
Data *[]byte
Comment string
URL string
+ Size int64
}
type ChannelInfo struct {