new conf parameter toot_max_len to truncate toot max length
This commit is contained in:
parent
9249e00152
commit
86ca0f14b6
4 changed files with 46 additions and 4 deletions
|
@ -116,7 +116,7 @@ class Main:
|
|||
fe = FilterEntry(elements, entry, options, feed['patterns'], feed['rssobject'], feed['feedname'])
|
||||
entrytosend = fe.finalentry
|
||||
if entrytosend:
|
||||
finaltweet = build_message(entrytosend, tweetformat, rss)
|
||||
finaltweet = build_message(entrytosend, tweetformat, rss, options['tootmaxlen'])
|
||||
if clioptions.dryrun:
|
||||
send_message_dry_run(config, entrytosend, finaltweet)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue