Skip to content

Commit

Permalink
Added blocking shorttype
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Aug 25, 2022
1 parent e291315 commit 077f0f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pocketdb/helpers/ShortFormHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ static const std::map<PocketDb::ShortTxType, std::string>& GetTypesMap() {
{ PocketDb::ShortTxType::PrivateContent, "privatecontent" },
{ PocketDb::ShortTxType::Boost, "boost" },
{ PocketDb::ShortTxType::Repost, "repost" },
{ PocketDb::ShortTxType::Blocking, "blocking" }
};
return typesMap;
}
Expand Down
3 changes: 2 additions & 1 deletion src/pocketdb/models/shortform/ShortTxType.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ namespace PocketDb
ContentScore,
PrivateContent,
Boost,
Repost
Repost,
Blocking
};
}

Expand Down

0 comments on commit 077f0f2

Please sign in to comment.