mirror of https://gitlab.com/bashrc2/epicyon
Index for media timeline
parent
b0d6fd80f5
commit
ab7ac29d35
5
inbox.py
5
inbox.py
|
@ -49,6 +49,7 @@ from httpsig import messageContentDigest
|
||||||
from posts import downloadAnnounce
|
from posts import downloadAnnounce
|
||||||
from posts import isDM
|
from posts import isDM
|
||||||
from posts import isReply
|
from posts import isReply
|
||||||
|
from posts import isImageMedia
|
||||||
from posts import sendSignedJson
|
from posts import sendSignedJson
|
||||||
from webinterface import individualPostAsHtml
|
from webinterface import individualPostAsHtml
|
||||||
from webinterface import getIconsDir
|
from webinterface import getIconsDir
|
||||||
|
@ -1581,6 +1582,10 @@ def inboxAfterCapabilities(session,keyId: str,handle: str,messageJson: {}, \
|
||||||
updateIndexList.append('tlreplies')
|
updateIndexList.append('tlreplies')
|
||||||
replyNotify(baseDir,handle,httpPrefix+'://'+domain+'/users/'+nickname+'/tlreplies')
|
replyNotify(baseDir,handle,httpPrefix+'://'+domain+'/users/'+nickname+'/tlreplies')
|
||||||
|
|
||||||
|
if isImageMedia(session,baseDir,httpPrefix,nickname,domain,postJsonObject):
|
||||||
|
# media index will be updated
|
||||||
|
updateIndexList.append('tlmedia')
|
||||||
|
|
||||||
# get the avatar for a reply/announce
|
# get the avatar for a reply/announce
|
||||||
obtainAvatarForReplyPost(session,baseDir,httpPrefix,domain,personCache,postJsonObject,debug)
|
obtainAvatarForReplyPost(session,baseDir,httpPrefix,domain,personCache,postJsonObject,debug)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue