For this purpose, you may wish to consider the didLeavePeer delegate.