test config

This commit is contained in:
shoopea 2020-02-10 10:21:02 +08:00
parent d2b0ab0da3
commit a84fdeae61

View File

@ -30,7 +30,7 @@ func loadClients() error {
muxClients.Lock() muxClients.Lock()
for _, c := range clts { for _, c := range clts {
cx := ChirpClient{ cx := ChirpClient{
Config: ChirpConfig{ Config: &ChirpConfig{
InterceptPillage: true, InterceptPillage: true,
}} }}
copier.Copy(&cx, &c) copier.Copy(&cx, &c)
@ -186,7 +186,7 @@ func getLockedClient(id int64, createMissing bool) (*ChirpClient, bool) {
c := ChirpClient{ c := ChirpClient{
TGUserID64: id, TGUserID64: id,
Active: false, Active: false,
Config: ChirpConfig{ Config: &ChirpConfig{
InterceptPillage: true, InterceptPillage: true,
}, },
} }