mirror of https://gitlab.com/bashrc2/epicyon
Extra emoji
parent
fc01d82998
commit
9c137b0560
BIN
emoji/1F9EC.png
BIN
emoji/1F9EC.png
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 23 KiB |
|
@ -523,5 +523,7 @@
|
||||||
"temperature": "1F321",
|
"temperature": "1F321",
|
||||||
"restart": "1F504",
|
"restart": "1F504",
|
||||||
"key": "1F511",
|
"key": "1F511",
|
||||||
"security": "1F510"
|
"security": "1F510",
|
||||||
|
"bookchin": "1F9EC",
|
||||||
|
"murraybookchin": "1F9EC"
|
||||||
}
|
}
|
||||||
|
|
16
epicyon.py
16
epicyon.py
|
@ -816,8 +816,24 @@ if args.actor:
|
||||||
httpPrefix='https'
|
httpPrefix='https'
|
||||||
port=443
|
port=443
|
||||||
session = createSession(domain,port,useTor)
|
session = createSession(domain,port,useTor)
|
||||||
|
if nickname!='inbox':
|
||||||
wfRequest = webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
wfRequest = webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
||||||
domain,__version__)
|
domain,__version__)
|
||||||
|
else:
|
||||||
|
wfRequest={
|
||||||
|
"aliases": [
|
||||||
|
httpPrefix+'://'+domain+'/users/inbox'
|
||||||
|
],
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"href": httpPrefix+'://'+domain+'/users/inbox',
|
||||||
|
"rel": "self",
|
||||||
|
"type": "application/activity+json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"subject": 'acct:inbox@'+domain
|
||||||
|
}
|
||||||
|
|
||||||
if not wfRequest:
|
if not wfRequest:
|
||||||
print('Unable to webfinger '+nickname+'@'+domain)
|
print('Unable to webfinger '+nickname+'@'+domain)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Reference in New Issue