Browse Source

add timestamp to turn signal (#2470)

Abhishek K 2 years ago
parent
commit
ab73278597
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/host.go

+ 1 - 0
models/host.go

@@ -142,6 +142,7 @@ type Signal struct {
 	ToHostPubKey      string       `json:"to_host_pubkey"`
 	Reply             bool         `json:"reply"`
 	Action            SignalAction `json:"action"`
+	TimeStamp         int64        `json:"timestamp"`
 }
 
 // RegisterMsg - login message struct for hosts to join via SSO login