Don't try to unsocket albums

This commit is contained in:
Raphael 2010-08-18 10:08:38 -07:00
parent 36f8289522
commit 9a188fd9f0

View file

@ -91,7 +91,7 @@ class User
######### Posts and Such ############### ######### Posts and Such ###############
def retract( post ) def retract( post )
post.socket_to_uid(self.id) post.unsocket_from_uid(self.id) if post.respond_to? :unsocket_from_uid
retraction = Retraction.for(post) retraction = Retraction.for(post)
retraction.creator_signature = retraction.sign_with_key( encryption_key ) retraction.creator_signature = retraction.sign_with_key( encryption_key )
retraction.notify_people retraction.notify_people