diff --git a/src/chat/chat-room/chat-room-p.h b/src/chat/chat-room/chat-room-p.h index ee72788d5..4dd4663f6 100644 --- a/src/chat/chat-room/chat-room-p.h +++ b/src/chat/chat-room/chat-room-p.h @@ -65,10 +65,10 @@ protected: int sqlRequest (sqlite3 *db, const std::string &stmt); void sqlRequestMessage (sqlite3 *db, const std::string &stmt); std::list> findMessages (const std::string &messageId); - void storeOrUpdateMessage (const std::shared_ptr &msg); + virtual void storeOrUpdateMessage (const std::shared_ptr &msg); public: - LinphoneReason messageReceived (SalOp *op, const SalMessage *msg); + virtual LinphoneReason messageReceived (SalOp *op, const SalMessage *msg); void realtimeTextReceived (uint32_t character, LinphoneCall *call); protected: