diff options
author | Wim <wim@42.be> | 2018-02-03 01:11:11 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-03 01:11:11 +0100 |
commit | 80822b7fff85647ad5852b00ec36d046959aed92 (patch) | |
tree | f3f15769f5b75b53f97c3bedf1bbf6a1f9a909c8 /bridge/config | |
parent | 78f1011f529981bab58556d9847488db04d00388 (diff) | |
download | matterbridge-msglm-80822b7fff85647ad5852b00ec36d046959aed92.tar.gz matterbridge-msglm-80822b7fff85647ad5852b00ec36d046959aed92.tar.bz2 matterbridge-msglm-80822b7fff85647ad5852b00ec36d046959aed92.zip |
Send chat notification if media is too big to be re-uploaded to MediaServer. See #359
Diffstat (limited to 'bridge/config')
-rw-r--r-- | bridge/config/config.go | 14 |
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 { |