e(m => 
                                m.conversation_id === conversationId && 
                                m.message_id === msg.id
                            );
                            if (!exists) {
                                allMessages.push(msg);
                            }
                        });
                        
                        localStorage.setItem('nlweb_messages', JSON.stringify(allMessages));
                    }
                }
                
             