统一聊天排序并支持公众号跳转小程序
This commit is contained in:
@@ -289,7 +289,7 @@ async def process_parent_leave_message(device_id: str, audio_cache_key: str):
|
||||
content_type=media_mime_type,
|
||||
extension=extension,
|
||||
)
|
||||
device_identity, _ = await im_conversation_service.create_device_parent_leave_message(
|
||||
device_identity, _, notification_targets = await im_conversation_service.create_device_parent_leave_message(
|
||||
device_id=device_id,
|
||||
media_file_key=stored_audio.file_key,
|
||||
media_mime_type=media_mime_type,
|
||||
@@ -305,6 +305,7 @@ async def process_parent_leave_message(device_id: str, audio_cache_key: str):
|
||||
wechat_mp_notification_service.schedule_leave_message_notification(
|
||||
device_id=device_id,
|
||||
child_name=device_identity.child_name,
|
||||
targets=notification_targets,
|
||||
)
|
||||
session_logger.info(
|
||||
device_id,
|
||||
|
||||
Reference in New Issue
Block a user