mirror of
https://github.com/pushbits/server.git
synced 2025-08-02 08:09:00 +02:00
Move all message sending to mautrix
This commit is contained in:
parent
e48cbae59b
commit
855e20978e
2 changed files with 17 additions and 16 deletions
|
@ -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.")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue