Remote trailing 07 in inbox.rs
This commit is contained in:
parent
d23002b817
commit
9b04fb96e6
1 changed files with 13 additions and 16 deletions
|
@ -1,7 +1,4 @@
|
|||
use activitystreams::activity::{
|
||||
Announce as Announce07, Create as Create07, Delete as Delete07, Follow as Follow07,
|
||||
Like as Like07, Undo as Undo07, Update as Update07,
|
||||
};
|
||||
use activitystreams::activity::{Announce, Create, Delete, Follow, Like, Undo, Update};
|
||||
|
||||
use crate::{
|
||||
comments::Comment,
|
||||
|
@ -51,18 +48,18 @@ impl_into_inbox_result! {
|
|||
|
||||
pub fn inbox(conn: &DbConn, act: serde_json::Value) -> Result<InboxResult, Error> {
|
||||
Inbox::handle(conn, act)
|
||||
.with::<User, Announce07, Post>(CONFIG.proxy())
|
||||
.with::<User, Create07, Comment>(CONFIG.proxy())
|
||||
.with::<User, Create07, Post>(CONFIG.proxy())
|
||||
.with::<User, Delete07, Comment>(CONFIG.proxy())
|
||||
.with::<User, Delete07, Post>(CONFIG.proxy())
|
||||
.with::<User, Delete07, User>(CONFIG.proxy())
|
||||
.with::<User, Follow07, User>(CONFIG.proxy())
|
||||
.with::<User, Like07, Post>(CONFIG.proxy())
|
||||
.with::<User, Undo07, Reshare>(CONFIG.proxy())
|
||||
.with::<User, Undo07, follows::Follow>(CONFIG.proxy())
|
||||
.with::<User, Undo07, likes::Like>(CONFIG.proxy())
|
||||
.with::<User, Update07, PostUpdate>(CONFIG.proxy())
|
||||
.with::<User, Announce, Post>(CONFIG.proxy())
|
||||
.with::<User, Create, Comment>(CONFIG.proxy())
|
||||
.with::<User, Create, Post>(CONFIG.proxy())
|
||||
.with::<User, Delete, Comment>(CONFIG.proxy())
|
||||
.with::<User, Delete, Post>(CONFIG.proxy())
|
||||
.with::<User, Delete, User>(CONFIG.proxy())
|
||||
.with::<User, Follow, User>(CONFIG.proxy())
|
||||
.with::<User, Like, Post>(CONFIG.proxy())
|
||||
.with::<User, Undo, Reshare>(CONFIG.proxy())
|
||||
.with::<User, Undo, follows::Follow>(CONFIG.proxy())
|
||||
.with::<User, Undo, likes::Like>(CONFIG.proxy())
|
||||
.with::<User, Update, PostUpdate>(CONFIG.proxy())
|
||||
.done()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue