This commit is contained in:
tt-P607
2025-09-20 12:22:15 +08:00
committed by Windpicker-owo
parent d53238dfc9
commit d9f2cd084d
3 changed files with 12 additions and 11 deletions

View File

@@ -117,7 +117,7 @@ class HeartFCMessageReceiver:
subheartflow: SubHeartflow = await heartflow.get_or_create_subheartflow(chat.stream_id) # type: ignore
# subheartflow.add_message_to_normal_chat_cache(message, interested_rate, is_mentioned)
await subheartflow.heart_fc_instance.add_message(message.to_dict())
if global_config.mood.enable_mood:
chat_mood = mood_manager.get_mood_by_chat_id(subheartflow.chat_id)
asyncio.create_task(chat_mood.update_mood_by_message(message, interested_rate))