remove bmath's test account finally. thanks for all the fish
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8b041a97d7
commit
1c0b51bb11
29
main.go
29
main.go
|
@ -191,24 +191,6 @@ func buttonClick(b *gui.ButtonMap) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (b.Note == "BMATH") {
|
||||
log.Println("\tTRIGGER BMATH HERE")
|
||||
log.Println("\tTRIGGER BMATH HERE")
|
||||
log.Println("\tTRIGGER BMATH HERE")
|
||||
gui.Data.State = "bmath"
|
||||
for {
|
||||
log.Println("Sleep() in buttonClick() gui.Data.State =", gui.Data.State)
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
if (gui.Data.State == "NEW PROTOBUF") {
|
||||
count := countVMS(currentMessage)
|
||||
name := "Bmath VMs"
|
||||
mh := gui.AddVmsTab(name, count)
|
||||
ReadReceivedData(currentMessage, mh)
|
||||
currentMessage = nil
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (gui.Data.State == "splash") {
|
||||
gui.ShowAccountQuestionTab()
|
||||
|
@ -236,13 +218,6 @@ func watchGUI() {
|
|||
count += 1
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
|
||||
if (gui.Data.State == "bmath") {
|
||||
log.Println("\tTRIGGERING BMATH HERE")
|
||||
log.Println("\tTRIGGERING BMATH HERE")
|
||||
log.Println("\tTRIGGERING BMATH HERE")
|
||||
event := pb.MakeGetEvent()
|
||||
gorillaSendProtobuf(event)
|
||||
}
|
||||
if (gui.Data.State == "SEND WEBSOCKET") {
|
||||
log.Println("\tTRIGGERING WEBSOCKET HERE on AccNick =", gui.Data.AccNick)
|
||||
log.Println("\tTRIGGERING WEBSOCKET HERE on AccNick =", gui.Data.AccNick)
|
||||
|
@ -252,12 +227,8 @@ func watchGUI() {
|
|||
event.Token = config.String("accounts." + gui.Data.AccNick + ".token")
|
||||
log.Println("\tTRIGGERING WEBSOCKET HERE with event.Token =", event.Token)
|
||||
|
||||
if (gui.Data.AccNick == "bmath") {
|
||||
gorillaSendProtobuf(event)
|
||||
gui.Data.State = "READ PROTOBUF"
|
||||
} else {
|
||||
gui.Data.State = "NEW PROTOBUF"
|
||||
}
|
||||
}
|
||||
if (gui.Data.State == "kill") {
|
||||
log.Println("gui.State = kill")
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"username": "jcarr@wit.com",
|
||||
"port": 3333,
|
||||
"proto": "tcp",
|
||||
"token": "eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJ4IjoyLCJyIjoiIiwiY3NyZiI6Ik9rR0JWenphV2cxQjVlN0R5YjRXSzIyWCIsImV4cCI6MTU1OTE4NTc1MiwiaXNzIjoid2l0Iiwic3ViIjoiYm1hdGhAd2l0LmNvbSJ9.vdOAXyt3VIovqEIbivgt6upqR8glZv2UdzFcyudzCmGV-msdZWi_9TZaATyQMxEaVD3K6gRunakyOWK0jw4xxeDUbQym86IKMU2UOjp0tN0z72OmH822NmQ8_AgWiKNI",
|
||||
"token": "eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJ4IjozLCJyIjoiIiwiY3NyZiI6InRBY1p2eXVJbk1YdWUxV0RSbDFIeDI5YSIsImV4cCI6MTU1OTI3MDQwMCwiaXNzIjoid2l0Iiwic3ViIjoiamNhcnJAd2l0LmNvbSJ9.bqXX_6yrUHQGYh3SEmW8ydSa9Xfqx-HIKutTN_GirwhC_VrVX1xJBcgYfjdKGegvwY7Td1vO3rs40Iz7ifcptrtdzJnDX62d_1JJPKBHUQUfnTLr2qoTgaljElFM0Q_e",
|
||||
"rows": 18
|
||||
},
|
||||
"jcarr2": {
|
||||
|
|
Loading…
Reference in New Issue