Formatting / Linting
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2023-07-25 11:18:55 -07:00
parent 8d7052bb8d
commit f2ad64fe8b
2 changed files with 13 additions and 16 deletions

View File

@ -1,14 +1,13 @@
package servers
import (
"cwtch.im/cwtch/event"
"cwtch.im/cwtch/model"
"cwtch.im/cwtch/model/attr"
"cwtch.im/cwtch/model/constants"
"cwtch.im/cwtch/peer"
"cwtch.im/cwtch/settings"
"cwtch.im/cwtch/protocol/connections"
"cwtch.im/cwtch/settings"
"encoding/json"
)
@ -46,7 +45,6 @@ func (f *Functionality) OnEvent(ev event.Event, profile peer.CwtchPeer) {
// TODO: do we need a secondary heartbeat for less common updates?
case event.Heartbeat:
f.PublishServerUpdate(profile)
break;
}
}
}
@ -77,7 +75,6 @@ type SyncStatus struct {
LastMessageTime string `json:"lastMessageTime"`
}
// Server encapsulates the information needed to represent a server...
type Server struct {
Onion string `json:"onion"`