remove unused events (libcwtch-rs audit); add anti dup on import #449

Merged
sarah merged 4 commits from cleanAndNoDupImport into master 2022-07-30 23:33:06 +00:00
1 changed files with 0 additions and 7 deletions
Showing only changes of commit b64229c8b7 - Show all commits

View File

@ -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.