Our tl-notify still requires Python 2 and should be converted to support Python 3.
Tested on Fedora 33 server with build containing the changes. Tested the following:
✔ Send notification to specified user with "-u cendio"
✔ Send notification to specified user with "--user cendio"
✔ Send notification to all users with "-u all"
✔ Send notification to all users as default (only msg given)
✔ Warning if given user has no session
✔ Warning if the agent does not have any sessions
✔ Error if given user not found
✔ Error if no message given
Tested on RHEL 8:
* Sessions starting up (gives error, but doesn't crash)
* All users
* Multiple lines
* Specific user
* Invalid user
* User without sessions
* To all when there are no sessions
Seems to work just fine.