Trait pallet_reactions::PostReactionScores [−][src]
Handler that will be called right before the post reaction is toggled.
Required methods
fn score_post_on_reaction(
actor: T::AccountId,
post: &mut Post<T>,
reaction_kind: ReactionKind
) -> DispatchResult
[src]
actor: T::AccountId,
post: &mut Post<T>,
reaction_kind: ReactionKind
) -> DispatchResult
Implementations on Foreign Types
impl<T: Trait> PostReactionScores<T> for ()
[src]
fn score_post_on_reaction(
_actor: T::AccountId,
_post: &mut Post<T>,
_reaction_kind: ReactionKind
) -> DispatchResult
[src]
_actor: T::AccountId,
_post: &mut Post<T>,
_reaction_kind: ReactionKind
) -> DispatchResult