conversations are not public
This commit is contained in:
parent
d3b6143a45
commit
9e0446f707
1 changed files with 5 additions and 0 deletions
|
|
@ -24,10 +24,15 @@ class Conversation < ActiveRecord::Base
|
|||
def diaspora_handle
|
||||
self.author.diaspora_handle
|
||||
end
|
||||
|
||||
def diaspora_handle= nh
|
||||
self.author = Webfinger.new(nh).fetch
|
||||
end
|
||||
|
||||
def public?
|
||||
false
|
||||
end
|
||||
|
||||
def participant_handles
|
||||
self.participants.map{|p| p.diaspora_handle}.join(";")
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue