|
|
@ -121,7 +121,7 @@ def main():
|
|
|
|
fulltaskname = phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["fullName"]
|
|
|
|
fulltaskname = phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["fullName"]
|
|
|
|
link = "\x032" + phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["uri"] + "#" + str(commentid) + "\x03"
|
|
|
|
link = "\x032" + phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["uri"] + "#" + str(commentid) + "\x03"
|
|
|
|
message = "\x033[\x03\x0313"+ fulltaskname +"\x03\x033]\x03 \x0315" + str(who) + "\x03 "
|
|
|
|
message = "\x033[\x03\x0313"+ fulltaskname +"\x03\x033]\x03 \x0315" + str(who) + "\x03 "
|
|
|
|
if comment == True and edited == False:
|
|
|
|
if comment == True:
|
|
|
|
message = message + "commented on the task: " + link
|
|
|
|
message = message + "commented on the task: " + link
|
|
|
|
elif edited == True:
|
|
|
|
elif edited == True:
|
|
|
|
message = message + "edited a message on the task: " + link
|
|
|
|
message = message + "edited a message on the task: " + link
|
|
|
|