Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Essem 2024-05-23 21:33:42 -05:00
commit 7a615f1971
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
195 changed files with 1347 additions and 857 deletions

View file

@ -36,12 +36,12 @@ const mapDispatchToProps = dispatch => ({
},
onModalReblog (status, privacy) {
dispatch(reblog(status, privacy));
dispatch(reblog({ statusId: status.get('id'), visibility: privacy }));
},
onReblog (status, e) {
if (status.get('reblogged')) {
dispatch(unreblog(status));
dispatch(unreblog({ statusId: status.get('id') }));
} else {
if (e.shiftKey || !boostModal) {
this.onModalReblog(status);