yuripeyamashita
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -87,8 +87,8 @@ def api():
|
|
87 |
quoted_msg_id = data.get("quoted_msg_id")
|
88 |
quoted_msg_list = {key: value for key, value in message_list.items() if value.get("quoted_msg_id") == msg_id}
|
89 |
|
90 |
-
if
|
91 |
-
|
92 |
|
93 |
if not quoted_msg_id and len(quoted_msg_list) != 0:
|
94 |
amount: float = data.get("amount")
|
|
|
87 |
quoted_msg_id = data.get("quoted_msg_id")
|
88 |
quoted_msg_list = {key: value for key, value in message_list.items() if value.get("quoted_msg_id") == msg_id}
|
89 |
|
90 |
+
if quoted_msg_id == payload.get("quoted_msg_id"):
|
91 |
+
continue
|
92 |
|
93 |
if not quoted_msg_id and len(quoted_msg_list) != 0:
|
94 |
amount: float = data.get("amount")
|