* Increment message count for a user in a chat * Now uses the unified store system (backward compatible)
(chatId: any, userId: any)
| 6 | * Now uses the unified store system (backward compatible) |
| 7 | */ |
| 8 | async function incrementMessageCount(chatId: any, userId: any) { |
| 9 | try { |
| 10 | await store.incrementMessageCount(chatId, userId) |
| 11 | } catch(error: any) { |
| 12 | console.error('Error incrementing message count:', error) |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Load all message counts (backward compatible) |
nothing calls this directly
no outgoing calls
no test coverage detected