mirror of
https://github.com/caronc/apprise.git
synced 2024-12-26 00:29:45 +01:00
miskey:// visibility flags updated (#1257)
This commit is contained in:
parent
0a2a743c19
commit
dcc3a60790
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user