Move all message sending to mautrix

This commit is contained in:
cubicroot 2022-02-09 20:38:24 +01:00
parent e48cbae59b
commit 855e20978e
2 changed files with 17 additions and 16 deletions

View file

@ -65,8 +65,8 @@ func Create(homeserver, username, password string, formatting configuration.Form
func (d *Dispatcher) Close() {
log.Printf("Logging out.")
d.client.Logout()
d.client.ClearCredentials()
d.mautrixClient.Logout()
d.mautrixClient.ClearCredentials()
log.Printf("Successfully logged out.")
}