Add support for FEP-3b86 (Activity Intents) (#38120)
This commit is contained in:
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'),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user