Skip to content

Commit

Permalink
miskey:// visibility flags updated (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc authored Dec 16, 2024
1 parent 0a2a743 commit dcc3a60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions apprise/plugins/misskey.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ class MisskeyVisibility:

FOLLOWERS = 'followers'

PRIVATE = 'private'

SPECIFIED = 'specified'


Expand All @@ -74,7 +72,6 @@ class MisskeyVisibility:
MisskeyVisibility.PUBLIC,
MisskeyVisibility.HOME,
MisskeyVisibility.FOLLOWERS,
MisskeyVisibility.PRIVATE,
MisskeyVisibility.SPECIFIED,
)

Expand Down
2 changes: 1 addition & 1 deletion test/test_plugin_misskey.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
# An invalid visibility
'instance': TypeError,
}),
('misskeys://access_token@hostname?visibility=private', {
('misskeys://access_token@hostname?visibility=specified', {
# Specified a different visiblity
'instance': NotifyMisskey,
}),
Expand Down

0 comments on commit dcc3a60

Please sign in to comment.