mirror of
https://github.com/pushbits/server.git
synced 2025-08-02 16:18:47 +02:00
Repair channels if necessary
This commit is contained in:
parent
f5560b0c46
commit
2e2326843f
12 changed files with 114 additions and 31 deletions
|
@ -45,8 +45,10 @@ func Create(db Database, homeserver, username, password string) (*Dispatcher, er
|
|||
|
||||
// Close closes the dispatcher connection.
|
||||
func (d *Dispatcher) Close() {
|
||||
log.Printf("Logging out.\n")
|
||||
log.Printf("Logging out.")
|
||||
|
||||
d.client.Logout()
|
||||
d.client.ClearCredentials()
|
||||
|
||||
log.Printf("Successfully logged out.")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue