update
This commit is contained in:
parent
357be24375
commit
0bee6d1042
2
main.go
2
main.go
|
@ -42,7 +42,7 @@ start:
|
|||
select {
|
||||
case <-time.After(60 * time.Second):
|
||||
if _, _, err = Conn.SendIQ("xmpp.ru", "set", "<keepalive xmlns='urn:xmpp:keepalive:0'> <interval>60</interval> </keepalive>"); err != nil {
|
||||
log.("KeepAlive", err)
|
||||
log.Fatalln("KeepAlive", err)
|
||||
}
|
||||
log.Println("SENT 60")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue