delete engine.deleteConnection (unused)
This commit is contained in:
parent
56cf2b7bf6
commit
b64229c8b7
|
@ -525,13 +525,6 @@ func (e *engine) sendRetValToPeer(eventID, onion, val, existsStr string) error {
|
|||
return e.sendPeerMessage(onion, pmodel.PeerMessage{ID: eventID, Context: event.ContextRetVal, Data: message})
|
||||
}
|
||||
|
||||
func (e *engine) deleteConnection(id string) {
|
||||
conn, err := e.service.GetConnection(id)
|
||||
if err == nil {
|
||||
conn.Close()
|
||||
}
|
||||
}
|
||||
|
||||
// receiveGroupMessage is a callback function that processes GroupMessages from a given server
|
||||
func (e *engine) receiveGroupMessage(server string, gm *groups.EncryptedGroupMessage) {
|
||||
// Publish Event so that a Profile Engine can deal with it.
|
||||
|
|
Loading…
Reference in New Issue