miskey:// visibility flags updated (#1257)

This commit is contained in:
Chris Caron 2024-12-16 16:28:18 -05:00 committed by GitHub
parent 0a2a743c19
commit dcc3a60790
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -64,8 +64,6 @@ class MisskeyVisibility:
FOLLOWERS = 'followers' FOLLOWERS = 'followers'
PRIVATE = 'private'
SPECIFIED = 'specified' SPECIFIED = 'specified'
@ -74,7 +72,6 @@ MISSKEY_VISIBILITIES = (
MisskeyVisibility.PUBLIC, MisskeyVisibility.PUBLIC,
MisskeyVisibility.HOME, MisskeyVisibility.HOME,
MisskeyVisibility.FOLLOWERS, MisskeyVisibility.FOLLOWERS,
MisskeyVisibility.PRIVATE,
MisskeyVisibility.SPECIFIED, MisskeyVisibility.SPECIFIED,
) )

View File

@ -78,7 +78,7 @@ apprise_url_tests = (
# An invalid visibility # An invalid visibility
'instance': TypeError, 'instance': TypeError,
}), }),
('misskeys://access_token@hostname?visibility=private', { ('misskeys://access_token@hostname?visibility=specified', {
# Specified a different visiblity # Specified a different visiblity
'instance': NotifyMisskey, 'instance': NotifyMisskey,
}), }),