yuripeyamashita
commited on
Commit
•
53558ec
1
Parent(s):
da3b0f7
Update app.py
Browse files
app.py
CHANGED
@@ -38,14 +38,15 @@ def api():
|
|
38 |
users_number = get_users_number()
|
39 |
|
40 |
users = list({item["user_id"] for item in message_list.values()})
|
41 |
-
|
42 |
-
|
|
|
43 |
|
44 |
-
matrix = [[0 for _ in range(users)] for _ in range(users)]
|
45 |
-
print(matrix)
|
46 |
|
47 |
-
for msg_id in message_list:
|
48 |
-
|
49 |
|
50 |
# users.index("b")
|
51 |
|
|
|
38 |
users_number = get_users_number()
|
39 |
|
40 |
users = list({item["user_id"] for item in message_list.values()})
|
41 |
+
print(users)
|
42 |
+
# if len(users) != users_number:
|
43 |
+
# users.append("others")
|
44 |
|
45 |
+
# matrix = [[0 for _ in range(users)] for _ in range(users)]
|
46 |
+
# print(matrix)
|
47 |
|
48 |
+
# for msg_id in message_list:
|
49 |
+
# print([key for key, value in message_list.items() if value.get("quoted_msg_id") == msg_id])
|
50 |
|
51 |
# users.index("b")
|
52 |
|