This commit is contained in:
zhaoYangguang 2021-02-18 17:55:15 +08:00
parent 87bac2ca76
commit 403e28baa1
1 changed files with 4 additions and 0 deletions

View File

@ -297,6 +297,10 @@ func (handler *CommandHandler) CommandLogout(ce *CommandEvent) {
for _, portal := range allPortals { for _, portal := range allPortals {
leave(portal) leave(portal)
} }
ce.User.Conn.Store = &skype.Store{
Contacts: make(map[string]skype.Contact),
Chats: make(map[string]skype.Conversation),
}
ce.Reply("Logged out successfully.") ce.Reply("Logged out successfully.")
} }