Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
34a5a3dfc8 | ||
|
|
92beedc955 |
@@ -47,8 +47,8 @@ func newMatrix(conf config.Matrix, cont string) Matrix {
|
|||||||
|
|
||||||
func (m Matrix) closeclient(client *gomatrix.Client) {
|
func (m Matrix) closeclient(client *gomatrix.Client) {
|
||||||
go func() {
|
go func() {
|
||||||
|
client.Client.CloseIdleConnections()
|
||||||
client.StopSync()
|
client.StopSync()
|
||||||
client.Logout()
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user