From d7a7c248b36af5f9cf7375ba62720e4a1530eca6 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Tue, 19 Dec 2017 17:07:58 +0100
Subject: Handle mastodon shares

---
 shared/models/activitypub/activity.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'shared')

diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts
index 84f5d851f..d5359eba1 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -51,7 +51,7 @@ export interface ActivityAccept extends BaseActivity {
 
 export interface ActivityAnnounce extends BaseActivity {
   type: 'Announce'
-  object: ActivityCreate
+  object: ActivityCreate | string
 }
 
 export interface ActivityUndo extends BaseActivity {
-- 
cgit v1.2.3