forked from indymedia/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",
|
||||
"restart": "1F504",
|
||||
"key": "1F511",
|
||||
"security": "1F510"
|
||||
"security": "1F510",
|
||||
"bookchin": "1F9EC",
|
||||
"murraybookchin": "1F9EC"
|
||||
}
|
||||
|
|
20
epicyon.py
20
epicyon.py
|
@ -816,8 +816,24 @@ if args.actor:
|
|||
httpPrefix='https'
|
||||
port=443
|
||||
session = createSession(domain,port,useTor)
|
||||
wfRequest = webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
||||
domain,__version__)
|
||||
if nickname!='inbox':
|
||||
wfRequest = webfingerHandle(session,nickname+'@'+domain,httpPrefix,wfCache, \
|
||||
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:
|
||||
print('Unable to webfinger '+nickname+'@'+domain)
|
||||
sys.exit()
|
||||
|
|
Loading…
Reference in New Issue