align with honeybee updates. change ID to URL semantics.

This commit is contained in:
Jay
2026-06-08 09:43:19 -04:00
parent 69f9219819
commit 42e6e2af83
10 changed files with 88 additions and 73 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ type NoticeReceived struct {
}
type Notice struct {
PeerID string
Peer string
Message string
Timestamp time.Time
}
@@ -62,11 +62,11 @@ func (h *NoticeHandler) route() {
}
now := time.Now()
h.notices <- Notice{
PeerID: msg.ID,
Peer: msg.URL,
Message: message,
Timestamp: now,
}
h.envoy.Observer().Record(msg.ID, NoticeReceived{
h.envoy.Observer().Record(msg.URL, NoticeReceived{
Message: message,
At: now,
})