yuripeyamashita
commited on
Commit
•
7555506
1
Parent(s):
cac428c
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def api():
|
|
50 |
|
51 |
if quoted_msg_id:
|
52 |
fr = users.index(data.get("user_id"))
|
53 |
-
to = users.index(quoted_msg_id)
|
54 |
matrix[fr][to] += data.get("amount")
|
55 |
|
56 |
if not quoted_msg_id and quoted_number == 0: # 要平分的情況
|
|
|
50 |
|
51 |
if quoted_msg_id:
|
52 |
fr = users.index(data.get("user_id"))
|
53 |
+
to = users.index(message_list.get(quoted_msg_id).get("user_id"))
|
54 |
matrix[fr][to] += data.get("amount")
|
55 |
|
56 |
if not quoted_msg_id and quoted_number == 0: # 要平分的情況
|