mirror of https://gitlab.com/bashrc2/epicyon
Extra statuses path
parent
51825d38c9
commit
b352a37eff
4
utils.py
4
utils.py
|
@ -1327,7 +1327,7 @@ def dangerous_svg(content: str, allow_local_network_access: bool) -> bool:
|
||||||
def _get_statuses_list() -> []:
|
def _get_statuses_list() -> []:
|
||||||
"""Returns a list of statuses path strings
|
"""Returns a list of statuses path strings
|
||||||
"""
|
"""
|
||||||
return ('/statuses/', '/objects/', '/p/', '/h/')
|
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/')
|
||||||
|
|
||||||
|
|
||||||
def contains_statuses(url: str) -> bool:
|
def contains_statuses(url: str) -> bool:
|
||||||
|
@ -2505,7 +2505,7 @@ def _get_reserved_words() -> str:
|
||||||
'mention', 'http', 'https', 'ipfs', 'ipns',
|
'mention', 'http', 'https', 'ipfs', 'ipns',
|
||||||
'ontologies', 'data', 'postedit', 'moved',
|
'ontologies', 'data', 'postedit', 'moved',
|
||||||
'inactive', 'activitypub', 'actors',
|
'inactive', 'activitypub', 'actors',
|
||||||
'notes', 'offers', 'wanted')
|
'notes', 'offers', 'wanted', 'honk')
|
||||||
|
|
||||||
|
|
||||||
def get_nickname_validation_pattern() -> str:
|
def get_nickname_validation_pattern() -> str:
|
||||||
|
|
Loading…
Reference in New Issue