diff options
| author | 2019-09-15 11:49:53 +0100 | |
|---|---|---|
| committer | 2019-09-15 11:49:53 +0100 | |
| commit | 95d67199ff7399510dab86761d6a19809df81b52 (patch) | |
| tree | d033c1d11a5d12dcf61490e7d13abf7de6c5bb69 /modules/fediverse | |
| parent | load user inbox before trying to access it (diff) | |
| signature | ||
Inbox.send should have a `self` param
Diffstat (limited to 'modules/fediverse')
| -rw-r--r-- | modules/fediverse/ap_actor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fediverse/ap_actor.py b/modules/fediverse/ap_actor.py index 3f12de0d..92502947 100644 --- a/modules/fediverse/ap_actor.py +++ b/modules/fediverse/ap_actor.py @@ -39,7 +39,7 @@ class Outbox(object): class Inbox(object): def __init__(self, url): self._url = url - def send(activity, private_key): + def send(self, activity, private_key): now = email.utils.formatdate(timeval=None, localtime=False, usegmt=True) parts = urllib.parse.urlparse(self._url) headers = [ |
