[feature] Send local_only instead of eyeball (#13)

Co-authored-by: Ember <me@ember-is.gay>
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/13
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
tobi
2025-03-04 20:54:32 +00:00
committed by tobi
parent 4bb7992d4c
commit 1b66719b48
3 changed files with 1 additions and 6 deletions
@@ -570,7 +570,6 @@ export default function compose(state = initialState, action) {
case REDRAFT:
const do_not_federate = !!action.status.get('local_only');
let text = action.raw_text || unescapeHTML(expandMentions(action.status));
if (do_not_federate) text = text.replace(/ ?👁\ufe0f?\u200b?$/, '');
return state.withMutations(map => {
map.set('text', text);
map.set('content_type', action.content_type || 'text/plain');