|
@@ -198,6 +198,7 @@ public:
|
|
std::string getMessage(std::string id);
|
|
std::string getMessage(std::string id);
|
|
std::string getGroupMembers(std::string id);
|
|
std::string getGroupMembers(std::string id);
|
|
std::string searchConversation(std::string keyword, std::string types, std::string lines);
|
|
std::string searchConversation(std::string keyword, std::string types, std::string lines);
|
|
|
|
+ std::string searchMessage(std::string converstaion, std::string keyword);
|
|
|
|
|
|
std::string getAllMessages() const;
|
|
std::string getAllMessages() const;
|
|
std::string getAllUsers() const;
|
|
std::string getAllUsers() const;
|
|
@@ -412,6 +413,7 @@ EMSCRIPTEN_BINDINGS(Proto)
|
|
.function("getMessage", &ProtoParser::getMessage)
|
|
.function("getMessage", &ProtoParser::getMessage)
|
|
.function("getGroupMembers", &ProtoParser::getGroupMembers)
|
|
.function("getGroupMembers", &ProtoParser::getGroupMembers)
|
|
.function("searchConversation", &ProtoParser::searchConversation)
|
|
.function("searchConversation", &ProtoParser::searchConversation)
|
|
|
|
+ .function("searchMessage", &ProtoParser::searchMessage)
|
|
.function("setOnConnected", &ProtoParser::setOnConnected)
|
|
.function("setOnConnected", &ProtoParser::setOnConnected)
|
|
.function("setOnMessage", &ProtoParser::setOnMessage)
|
|
.function("setOnMessage", &ProtoParser::setOnMessage)
|
|
.function("setOnNotify", &ProtoParser::setOnNotify)
|
|
.function("setOnNotify", &ProtoParser::setOnNotify)
|