MarseyWorld/files
Snakes 9e1a3be278 Fix DMs improperly treating all users as blocked.
The changes to helpers/get.py @ get_user(...) in a6b7fed2fc resulted
in `is_blocking` no longer being present on all User objects retrieved
via `get_user`. This triggered a latent identifier shadow where the
property method `User.is_blocking` on the User model caused checks for
blocks on objects retrieved via `get_user` to always return True.

Notably: when the get_user return value left `is_blocking` unset and
thus implied False, the following expression yielded True due to the
presence of the first-class function at the same identifier:

    hasattr(user, 'is_blocking') and user.is_blocking
2022-07-03 13:55:25 -04:00
..
classes Fix DMs improperly treating all users as blocked. 2022-07-03 13:55:25 -04:00
helpers minor logic change in /@username 2022-07-03 14:12:33 +02:00
mail reducing query volume, #2 2022-06-26 03:11:02 +02:00
routes Fix DMs improperly treating all users as blocked. 2022-07-03 13:55:25 -04:00
templates more query optimization v3 2022-07-03 13:56:40 +02:00
tests vdffsd 2022-05-23 00:45:04 +02:00
__init__.py Revert "delete useless file" 2022-06-10 21:50:09 -04:00
__main__.py don't commit if error happens 2022-06-27 07:24:11 +02:00
cli.py Fix cli.py running in wrong working directory. 2022-06-19 05:28:07 -04:00