mirror of
https://github.com/ihabunek/toot.git
synced 2024-09-22 04:25:55 -04:00
Don't default to media URLs if no text is given
This commit is contained in:
parent
7b4063fddc
commit
4ccc547830
@ -99,9 +99,6 @@ def post(app, user, args):
|
||||
|
||||
media_ids = [m["id"] for m in uploaded_media]
|
||||
|
||||
if uploaded_media and not args.text:
|
||||
args.text = "\n".join(m['url'] for m in uploaded_media)
|
||||
|
||||
if sys.stdin.isatty():
|
||||
if args.editor:
|
||||
args.text = editor_input(args.editor, args.text)
|
||||
|
Loading…
Reference in New Issue
Block a user