mirror of https://github.com/caronc/apprise
Twitter supports x:// to align with it's new re-branding (#971)
parent
ae0c412b41
commit
902f39cd58
|
@ -83,7 +83,7 @@ class NotifyTwitter(NotifyBase):
|
|||
service_url = 'https://twitter.com/'
|
||||
|
||||
# The default secure protocol is twitter.
|
||||
secure_protocol = ('twitter', 'tweet')
|
||||
secure_protocol = ('x', 'twitter', 'tweet')
|
||||
|
||||
# A URL that takes you to the setup/help of the specific protocol
|
||||
setup_url = 'https://github.com/caronc/apprise/wiki/Notify_twitter'
|
||||
|
|
|
@ -87,7 +87,7 @@ apprise_url_tests = (
|
|||
'notify_response': False,
|
||||
|
||||
# Our expected url(privacy=True) startswith() response:
|
||||
'privacy_url': 'twitter://c...y/****/a...2/****',
|
||||
'privacy_url': 'x://c...y/****/a...2/****',
|
||||
}),
|
||||
('twitter://consumer_key/consumer_secret/atoken3/access_secret'
|
||||
'?cache=no', {
|
||||
|
|
Loading…
Reference in New Issue