mirror of https://gitlab.com/bashrc2/epicyon
parent
4bee4e236a
commit
0d0d49ac89
8
inbox.py
8
inbox.py
|
@ -72,7 +72,6 @@ from happening import saveEventPost
|
|||
from delete import removeOldHashtags
|
||||
from follow import isFollowingActor
|
||||
from categories import guessHashtagCategory
|
||||
from webfinger import webfingerHandle
|
||||
|
||||
|
||||
def storeHashTags(baseDir: str, nickname: str, postJsonObject: {}) -> None:
|
||||
|
@ -163,11 +162,8 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
|
|||
if cachedWebfingers.get(requestHandle):
|
||||
wfRequest = cachedWebfingers[requestHandle]
|
||||
else:
|
||||
wfRequest = webfingerHandle(session, requestHandle,
|
||||
httpPrefix, cachedWebfingers,
|
||||
domain, __version__)
|
||||
if not wfRequest:
|
||||
return
|
||||
# TODO this may not be correct
|
||||
wfRequest = cachedWebfingers
|
||||
|
||||
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
|
||||
translate, pageNumber,
|
||||
|
|
|
@ -265,11 +265,8 @@ def htmlProfileAfterSearch(cssCache: {},
|
|||
if cachedWebfingers.get(requestHandle):
|
||||
wfRequest = cachedWebfingers[requestHandle]
|
||||
else:
|
||||
wfRequest = webfingerHandle(session, requestHandle,
|
||||
httpPrefix, cachedWebfingers,
|
||||
domain, __version__)
|
||||
if not wfRequest:
|
||||
return None
|
||||
# TODO this may not be correct
|
||||
wfRequest = cachedWebfingers
|
||||
|
||||
profileStr += \
|
||||
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
|
||||
|
|
Loading…
Reference in New Issue