From 1f366d27cf12a494f84d92ceb8383150ace785c0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 2 Jul 2019 12:56:01 +0100 Subject: [PATCH] No name --- like.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/like.py b/like.py index b65b3d5f..a63c5af3 100644 --- a/like.py +++ b/like.py @@ -10,7 +10,7 @@ import json import commentjson from utils import urlPermitted -def like(baseDir: str,federationList: [],username: str, domain: str, port: int,toUrl: str, ccUrl: str, https: bool, comment: str,objectUrl: str, saveToFile: bool) -> {}: +def like(baseDir: str,federationList: [],username: str, domain: str, port: int,toUrl: str, ccUrl: str, https: bool,objectUrl: str, saveToFile: bool) -> {}: """Creates a like Typically toUrl will be a followers collection and ccUrl might be a specific person whose post was liked @@ -29,7 +29,6 @@ def like(baseDir: str,federationList: [],username: str, domain: str, port: int,t newLike = { 'type': 'Like', 'actor': prefix+'://'+domain+'/users/'+username, - 'name': comment, 'object': objectUrl, 'to': [toUrl], 'cc': [],