parent
a65470fa9d
commit
3829a57909
4 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,7 @@ Changelog
|
|||
|
||||
* Fix access to public and tag timelines when on private mastodon instances
|
||||
(#168)
|
||||
* Add `--reverse` option to `toot notifications` (#151)
|
||||
* TUI: Add opton to pin/save tag timelines (#163, thanks @dlax)
|
||||
|
||||
**0.26.0 (2020-04-15)**
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
date: "TBD"
|
||||
changes:
|
||||
- "Fix access to public and tag timelines when on private mastodon instances (#168)"
|
||||
- "Add `--reverse` option to `toot notifications` (#151)"
|
||||
- "TUI: Add opton to pin/save tag timelines (#163, thanks @dlax)"
|
||||
|
||||
0.26.0:
|
||||
|
|
|
@ -321,6 +321,9 @@ def notifications(app, user, args):
|
|||
print_out("<yellow>No notification</yellow>")
|
||||
return
|
||||
|
||||
if args.reverse:
|
||||
notifications = reversed(notifications)
|
||||
|
||||
print_notifications(notifications)
|
||||
|
||||
|
||||
|
|
|
@ -238,6 +238,11 @@ READ_COMMANDS = [
|
|||
"action": 'store_true',
|
||||
"default": False,
|
||||
}),
|
||||
(["-r", "--reverse"], {
|
||||
"action": "store_true",
|
||||
"default": False,
|
||||
"help": "Reverse the order of the shown notifications (newest on top)",
|
||||
}),
|
||||
],
|
||||
require_auth=True,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue