H Vs 3 viikkoa sitten
vanhempi
commit
3c21fedf4d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      app/endpoints/pipeline_endpoint.py

+ 1
- 1
app/endpoints/pipeline_endpoint.py Näytä tiedosto

@@ -1033,8 +1033,8 @@ async def handle_10000_msg_async(request: Request,token_id,app_id, wxid,msg_data
content=msg_data.get("Content","").get("string","")

if '修改群名' or '新群主' or '被移除群聊通知' in content and check_chatroom(from_wxid):
logger.info(f'{content} chatroom_id {chatroom_id} ')
chatroom_id=from_wxid
logger.info(f'{content} chatroom_id {chatroom_id} ')
await request.app.state.gewe_service.update_group_info_to_cache_async(token_id,app_id,wxid,chatroom_id)
await request.app.state.gewe_service.update_group_members_to_cache_async(token_id,app_id,wxid,chatroom_id)



Loading…
Peruuta
Tallenna