parent
20b6053282
commit
0780bf3691
4 changed files with 6 additions and 5 deletions
6
app.py
6
app.py
|
@ -457,14 +457,16 @@ def index():
|
|||
|
||||
for data in outbox_data:
|
||||
if data["type"] == "Announce":
|
||||
print(data)
|
||||
if data["activity"]["object"].startswith("http"):
|
||||
data["ref"] = {
|
||||
"activity": {
|
||||
"object": OBJECT_SERVICE.get(data["activity"]["object"])
|
||||
"object": OBJECT_SERVICE.get(data["activity"]["object"]),
|
||||
"id": "NA",
|
||||
},
|
||||
"meta": {},
|
||||
}
|
||||
print(data)
|
||||
|
||||
|
||||
return render_template(
|
||||
"index.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue