Update xmpp_chat_client.go
Quickfix : go back to menu when contacts are updated from server.
This commit is contained in:
parent
26114d40eb
commit
ccc573c3b2
|
@ -318,6 +318,7 @@ func askForRoster(client xmpp.Sender, g *gocui.Gui, config *config) {
|
||||||
for _, item := range rosterItems.Items {
|
for _, item := range rosterItems.Items {
|
||||||
viewState.contacts = append(viewState.contacts, item.Jid)
|
viewState.contacts = append(viewState.contacts, item.Jid)
|
||||||
}
|
}
|
||||||
|
viewState.contacts = append(viewState.contacts, backFromContacts)
|
||||||
fmt.Fprintln(chlw, infoFormat+"Contacts list updated !")
|
fmt.Fprintln(chlw, infoFormat+"Contacts list updated !")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue