diff --git a/assets/themes/default/_article.scss b/assets/themes/default/_article.scss index 453e2d58..73feefb0 100644 --- a/assets/themes/default/_article.scss +++ b/assets/themes/default/_article.scss @@ -228,7 +228,7 @@ main .article-meta { fill: currentColor; } .action.liked:hover svg.feather { - background: transparentize($red, 0.75) + background: transparentize($red, 0.75); color: $red; } } @@ -252,7 +252,7 @@ main .article-meta { background: $primary; } .action.reshared:hover svg.feather { - background: transparentize($primary, 0.75) + background: transparentize($primary, 0.75); color: $primary; } } diff --git a/plume-models/src/inbox.rs b/plume-models/src/inbox.rs index 2796ebb4..c30b3310 100644 --- a/plume-models/src/inbox.rs +++ b/plume-models/src/inbox.rs @@ -2,7 +2,6 @@ use activitystreams::activity::{Announce, Create, Delete, Follow, Like, Undo, Up use crate::{ comments::Comment, - db_conn::DbConn, follows, likes, posts::{Post, PostUpdate}, reshares::Reshare, diff --git a/plume-models/src/users.rs b/plume-models/src/users.rs index d80fb33e..9658ea9b 100644 --- a/plume-models/src/users.rs +++ b/plume-models/src/users.rs @@ -169,7 +169,7 @@ impl User { } for comment in Comment::list_by_author(conn, self.id)? { - let delete_activity = comment.build_delete(&conn)?; + let delete_activity = comment.build_delete(conn)?; crate::inbox::inbox( conn, serde_json::to_value(&delete_activity).map_err(Error::from)?,