izuemon commited on
Commit
dbf7cb7
·
verified ·
1 Parent(s): 6599ddd

Update join.py

Browse files
Files changed (1) hide show
  1. join.py +2 -2
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 = "604730"
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("personId")) == CHECK_PERSON_ID),
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