mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 10:02:00 -08:00
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 New Issue
Block a user