swap local-only post eye to wolf
parent
99d8cfe8b8
commit
080f76e050
|
@ -122,7 +122,7 @@ export function submitCompose() {
|
|||
|
||||
dispatch(submitComposeRequest());
|
||||
if (getState().getIn(['compose', 'advanced_options', 'do_not_federate'])) {
|
||||
status = status + ' 👁️';
|
||||
status = status + ' 🐺';
|
||||
}
|
||||
api(getState).post('/api/v1/statuses', {
|
||||
status,
|
||||
|
|
|
@ -289,7 +289,7 @@ export default function compose(state = initialState, action) {
|
|||
map.set('privacy', privacyPreference(action.status.get('visibility'), state.get('default_privacy')));
|
||||
map.update(
|
||||
'advanced_options',
|
||||
map => map.merge(new ImmutableMap({ do_not_federate: /👁\ufe0f?\u200b?(?:<\/p>)?$/.test(action.status.get('content')) }))
|
||||
map => map.merge(new ImmutableMap({ do_not_federate: /🐺\ufe0f?\u200b?(?:<\/p>)?$/.test(action.status.get('content')) }))
|
||||
);
|
||||
map.set('focusDate', new Date());
|
||||
map.set('caretPosition', null);
|
||||
|
|
|
@ -368,7 +368,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def local_only_emoji
|
||||
'👁'
|
||||
'🐺'
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue