Spaces:
Running
Running
Update join.py
Browse files
join.py
CHANGED
|
@@ -13,7 +13,7 @@ if not X_ACCOUNT:
|
|
| 13 |
|
| 14 |
BASE = "https://desk-api.channel.io/desk/channels/200605"
|
| 15 |
GROUP_ID = 463667
|
| 16 |
-
CHECK_PERSON_ID = "
|
| 17 |
BLACKLIST_CHAT_IDS = ["463667", "481108"]
|
| 18 |
HEADERS = {
|
| 19 |
"accept": "application/json",
|
|
@@ -118,7 +118,7 @@ def process():
|
|
| 118 |
latest_599642 = max(
|
| 119 |
(int(m.get("createdAt", 0))
|
| 120 |
for m in messages
|
| 121 |
-
if str(m.get("
|
| 122 |
default=0
|
| 123 |
)
|
| 124 |
|
|
|
|
| 13 |
|
| 14 |
BASE = "https://desk-api.channel.io/desk/channels/200605"
|
| 15 |
GROUP_ID = 463667
|
| 16 |
+
CHECK_PERSON_ID = "479401"
|
| 17 |
BLACKLIST_CHAT_IDS = ["463667", "481108"]
|
| 18 |
HEADERS = {
|
| 19 |
"accept": "application/json",
|
|
|
|
| 118 |
latest_599642 = max(
|
| 119 |
(int(m.get("createdAt", 0))
|
| 120 |
for m in messages
|
| 121 |
+
if str(m.get("chatId")) == CHECK_PERSON_ID),
|
| 122 |
default=0
|
| 123 |
)
|
| 124 |
|