Implement profile change detection and persistence
- Enhance topic detection with message_thread_id (primary) and reply_to_topic_id (fallback) - Add DatabaseManager.get_user_profile() to load stored user profiles - Add DatabaseManager.update_user_profile() for profile-only updates (without affecting message_count) - Refactor handle_profile_update() to compare stored vs current profiles - Automatically detect name and username changes in handle_message() - Persist detected profile changes to user_stats and profile_history tables - Log profile changes with before/after details in activity logging
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
config.yaml
|
||||
|
||||
venv
|
||||
.venv
|
||||
*.db
|
||||
*.pyc
|
||||
|
||||
Reference in New Issue
Block a user