From 0ac3cb4c0f41a68d5ccb33949da6c63992037909 Mon Sep 17 00:00:00 2001 From: Bat Date: Sat, 19 May 2018 10:50:56 +0100 Subject: [PATCH] Fix AP link serialization --- src/activity_pub/mod.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/activity_pub/mod.rs b/src/activity_pub/mod.rs index 35e5ee5e..f544d15e 100644 --- a/src/activity_pub/mod.rs +++ b/src/activity_pub/mod.rs @@ -103,16 +103,11 @@ pub fn broadcast>(id: T) -> Id { - Id { - id: id.into() - } + Id(id.into()) } }