forked from indymedia/epicyon
Create tag list if needed
parent
542f3267a1
commit
5613afb3d8
2
inbox.py
2
inbox.py
|
@ -1308,6 +1308,8 @@ def sendToGroupMembers(session,baseDir: str,handle: str,port: int,postJsonObject
|
||||||
if not postJsonObject['object']['content'].startswith(senderStr):
|
if not postJsonObject['object']['content'].startswith(senderStr):
|
||||||
postJsonObject['object']['content']=senderStr+' '+postJsonObject['object']['content']
|
postJsonObject['object']['content']=senderStr+' '+postJsonObject['object']['content']
|
||||||
# add mention to tag list
|
# add mention to tag list
|
||||||
|
if not postJsonObject['object']['tag']:
|
||||||
|
postJsonObject['object']['tag']=[]
|
||||||
postJsonObject['object']['tag'].append({
|
postJsonObject['object']['tag'].append({
|
||||||
'href': sendingActor,
|
'href': sendingActor,
|
||||||
'name': senderStr,
|
'name': senderStr,
|
||||||
|
|
Loading…
Reference in New Issue