kopia lustrzana https://gitlab.com/jaywink/federation
quick fix: ensure the to property is an array on outbound AP Profiles
rodzic
ca3f927aa9
commit
340e5cafe7
|
@ -611,6 +611,7 @@ class Person(Object, base.Profile):
|
|||
self.followers = f'{with_slash(self.id)}followers/'
|
||||
self.following = f'{with_slash(self.id)}following/'
|
||||
self.outbox = f'{with_slash(self.id)}outbox/'
|
||||
if isinstance(self.to, str): self.to = [self.to]
|
||||
|
||||
if hasattr(self, 'times'):
|
||||
if self.times.get('updated',0) > self.times.get('created',0):
|
||||
|
|
Ładowanie…
Reference in New Issue