Shared inbox endpoint

This commit is contained in:
Bat
2018-05-13 18:39:18 +01:00
parent 91b19bccb5
commit dfab0290e4
4 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ use models::likes::*;
use models::posts::*;
use models::users::User;
pub trait Inbox: Actor + Sized {
pub trait Inbox {
fn received(&self, conn: &PgConnection, act: serde_json::Value);
fn save(&self, conn: &PgConnection, act: serde_json::Value) {