mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 01:49:22 +00:00
Initial matterbridge commit
This commit is contained in:
@ -51,7 +51,6 @@ type Config struct {
|
||||
// New Mattermost client.
|
||||
func New(url string, config Config) *Client {
|
||||
c := &Client{url: url, In: make(chan IMessage), Out: make(chan OMessage), Config: config}
|
||||
log.Println(config.Port)
|
||||
if c.Port == 0 {
|
||||
c.Port = 9999
|
||||
}
|
||||
|
Reference in New Issue
Block a user