remove gomatrix dependency and clean up

This commit is contained in:
cubicroot 2022-03-13 18:25:04 +01:00
parent dc6c76747f
commit 4e8c477ae3
4 changed files with 4 additions and 7 deletions

View file

@ -40,7 +40,7 @@ func Create(homeserver, username, password string, formatting configuration.Form
// Close closes the dispatcher connection.
func (d *Dispatcher) Close() {
log.Printf("Logging out.")
_, err := d.mautrixClient.Logout()
if err != nil {
log.Printf("Error while logging out: %s", err)