Skip to content

Commit

Permalink
Document some more TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Jun 29, 2020
1 parent 0209fb6 commit cbcee18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions experiment/whatsapp/whatsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,16 @@ func (tk *TestKeys) Update(v urlgetter.MultiOutput) {
}
// set the status of the registration service
if v.Input.Target == RegistrationServiceURL {
// TODO(bassosimone): here we should check the HTTP status code
tk.RegistrationServerFailure = v.TestKeys.Failure
if v.TestKeys.Failure == nil {
tk.RegistrationServerStatus = "ok"
}
return
}
// track result of accessing the web interface
// TODO(bassosimone): here we should check the HTTP status code
// as well as the webpage contains "WhatsApp Web".
switch v.Input.Target {
case WebHTTPSURL:
tk.WhatsappHTTPSFailure = v.TestKeys.Failure
Expand Down

0 comments on commit cbcee18

Please sign in to comment.