mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-03-10 06:31:09 +00:00
Improve the logic a little bit.
This commit is contained in:
parent
b72c57bb89
commit
977cec1c37
2
lugito
2
lugito
@ -121,7 +121,7 @@ def main():
|
||||
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"
|
||||
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
|
||||
elif edited == True:
|
||||
message = message + "edited a message on the task: " + link
|
||||
|
Loading…
x
Reference in New Issue
Block a user