forked from 42wim/matterircd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
matterircd.toml.example
73 lines (55 loc) · 2.55 KB
/
matterircd.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#interface:port to bind to. (default "127.0.0.1:6667")
Bind = "127.0.0.1:6667"
#enable debug logging (default false)
Debug = false
#interface:port to bind to. (e.g 127.0.0.1:6697) (deault "")
TLSBind = "127.0.0.1:6697"
#directory to look for key.pem and cert.pem. (default ".")
TLSDir = "/etc/pki/tls/matermost/"
[mattermost]
#specify default mattermost server/instance (default "")
DefaultServer = "chat.mycompany.com"
#specify default mattermost team (default "")
DefaultTeam = "mycompany"
#use http connection to mattermost (default false)
Insecure = false
#an array of channels that only will be joined on IRC.
#If it's empty, it means all channels get joined (except those defined in JoinExclude)
#Messages that get sent to unjoined channels (but you're joined on mattermost) will
#get sent to the &messages channel.
#default ""
JoinInclude = ["#devops"]
#an array of channels that won't be joined on IRC.
#Messages that get sent to unjoined channels (but you're joined on mattermost) will
#get sent to the &messages channel.
#You can still /JOIN exclude channels.
#default ""
JoinExclude = ["#town-square","#boringchannel"]
#PartFake: a bool that defines if you do a /LEAVE or /PART on IRC it will also
#actually leave the channel on mattermost.
#Default false
PartFake = true
#only allow connection to specified mattermost server/instances.
#Array, default empty
Restrict = ["chat.mycompany.com"]
#skip verification of mattermost certificate chain and hostname (default false)
SkipTLSVerify = false
[slack]
#Blacklist specific users from connecting.
#As we only connect using tokens, this will first do a ccnnection to see what username the token is from. If this
#username is on the blacklist the user will be disconnected.
#Array, default empty
BlackListUser = ["username"]
#https://get.slack.help/hc/en-us/articles/212281468-Direct-messages-and-group-DMs
#Only join multiple person Direct messages when someone talks. This stops from cluttering your
#irc client with lots of windows.
JoinMpImOnTalk = false
#only allow connection to specific slack sites. (eg for myslack.slack.com just specify myslack)
#As we only connect using tokens, this will first do a ccnnection to see what team the token is from. If this
#team isn't in the Restrict list, the user will be disconnected.
#Array, default empty
Restrict = ["myslack"]
# This will add the slack DisplayName as prefix to every message if the DisplayName differs from the Username
# More info about username/displayname see https://api.slack.com/changelog/2017-09-the-one-about-usernames
# Default false
UseDisplayName = false