Add support for FEP-3b86 (Activity Intents) (#38120)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2026-03-10 10:21:24 +00:00
1 parent 7d58ce309c
commit 69b1f60f4e
10 files changed
+119 -42

No files matched your search

@@ -77,7 +77,7 @@ const mapDispatchToProps = (dispatch, { contextType }) => ({
onReblog (status, e) {
dispatch(toggleReblog(status.get('id'), e.shiftKey));
},
onQuote (status) {
dispatch(quoteComposeById(status.get('id')));
},
@@ -231,10 +231,11 @@ const mapDispatchToProps = (dispatch, { contextType }) => ({
dispatch(deployPictureInPicture({statusId: status.get('id'), accountId: status.getIn(['account', 'id']), playerType: type, props: mediaProps}));
},
onInteractionModal (status) {
onInteractionModal (status, intent) {
dispatch(openModal({
modalType: 'INTERACTION',
modalProps: {
intent,
accountId: status.getIn(['account', 'id']),
url: status.get('uri'),
},