]> Untitled Git - lemmy.git/commit
Remove usage of Option::unwrap() in activitypub code (#80)
authornutomic <nutomic@noreply.yerbamate.dev>
Tue, 11 Aug 2020 14:31:05 +0000 (14:31 +0000)
committerdessalines <dessalines@noreply.yerbamate.dev>
Tue, 11 Aug 2020 14:31:05 +0000 (14:31 +0000)
commit3da47352befd37fe93c6d3e14874b5b90d8b8694
tree7dcf937d1928664126275916687855d9d0bbd79e
parentc1f48d6a0e8b2e845f8a23e8d70eb1c3a3b4237f
Remove usage of Option::unwrap() in activitypub code (#80)

Remove remaining usages of unwrap() from activitypub code

Remove most usage of Option::unwrap() from activitypub code

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/80
22 files changed:
server/lemmy_utils/src/lib.rs
server/src/api/community.rs
server/src/apub/activities.rs
server/src/apub/comment.rs
server/src/apub/community.rs
server/src/apub/extensions/signatures.rs
server/src/apub/fetcher.rs
server/src/apub/inbox/activities/announce.rs
server/src/apub/inbox/activities/create.rs
server/src/apub/inbox/activities/delete.rs
server/src/apub/inbox/activities/dislike.rs
server/src/apub/inbox/activities/like.rs
server/src/apub/inbox/activities/remove.rs
server/src/apub/inbox/activities/undo.rs
server/src/apub/inbox/activities/update.rs
server/src/apub/inbox/community_inbox.rs
server/src/apub/inbox/shared_inbox.rs
server/src/apub/inbox/user_inbox.rs
server/src/apub/mod.rs
server/src/apub/post.rs
server/src/apub/private_message.rs
server/src/apub/user.rs