drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 132 forks source link

Multipeer file retrieval response for no new files #269

Closed UberJason closed 6 years ago

UberJason commented 6 years ago

This PR addresses #268.

I noticed that the message type CDEMultipeerMessageTypeFileRetrievalResponse was going unused in the entire project, so I re-named and repurposed it to CDEMultipeerMessageTypeFileRetrievalResponseNoFiles to send back in the case where there are no files to be sent back. I've also added another optional method on CDEMultipeerConnection to handle this response.