Module: SocialStream::Ostatus::Models::Contact::ClassMethods
- Defined in:
- lib/social_stream/ostatus/models/contact.rb
Instance Method Summary collapse
-
#from_entry!(entry, receiver) ⇒ Object
Find contact from OStatus entry.
Instance Method Details
#from_entry!(entry, receiver) ⇒ Object
Find contact from OStatus entry
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/social_stream/ostatus/models/contact.rb', line 15 def from_entry! entry, receiver # Sender must be remote sender = RemoteSubject.find_or_create_by_webfinger_uri! entry..uri contact = sender.contact_to!(receiver) # FIXME: hack contact. = sender contact end |