Update xmpp_chat_client.go

Quickfix : go back to menu when contacts are updated from server.
160-regression
remicorniere 4 years ago committed by GitHub
parent 26114d40eb
commit ccc573c3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -318,6 +318,7 @@ func askForRoster(client xmpp.Sender, g *gocui.Gui, config *config) {
for _, item := range rosterItems.Items {
viewState.contacts = append(viewState.contacts, item.Jid)
}
viewState.contacts = append(viewState.contacts, backFromContacts)
fmt.Fprintln(chlw, infoFormat+"Contacts list updated !")
return
}

Loading…
Cancel
Save