mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
fix: correctly confirm all relevant dispatches
..and not just the first
This commit is contained in:
@@ -50,7 +50,7 @@ if __name__ == "__main__":
|
||||
|
||||
user = entry["person"]
|
||||
message = entry["message"]
|
||||
uid = entry["uid"]
|
||||
uid_list = entry["uids"]
|
||||
|
||||
# send message #
|
||||
if entry["method"] == "signal":
|
||||
@@ -60,6 +60,7 @@ if __name__ == "__main__":
|
||||
|
||||
# confirm dispatch
|
||||
if not args.no_confirm:
|
||||
confirm_dispatch(args.target, uid)
|
||||
for uid in uid_list:
|
||||
confirm_dispatch(args.target, uid)
|
||||
|
||||
sys.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user