AutoAnswer
Change-Id: Icfc040b5ffc5d7429b208f80103e4d227e635f62
GitLab: #4
diff --git a/SDK/Templates/genericConversationHandler.h b/SDK/Templates/genericConversationHandler.h
index 1906ce6..dd434f6 100644
--- a/SDK/Templates/genericConversationHandler.h
+++ b/SDK/Templates/genericConversationHandler.h
@@ -1,21 +1,19 @@
HEADER
#pragma once
-//Project
+// Project
#include "chatsubscriber.h"
-//Jami plugin
+// Jami plugin
#include "plugin/jamiplugin.h"
-#include "plugin/conversationhandler.h"
+#include "plugin/chathandler.h"
-class GENERICConversationHandler : public jami::ConversationHandler
+class GENERICChatHandler : public jami::ChatHandler
{
public:
- GENERICConversationHandler(const JAMI_PluginAPI * api, std::string &&dataPath);
- ~GENERICConversationHandler();
+ GENERICChatHandler(const JAMI_PluginAPI* api, std::string&& dataPath);
+ ~GENERICChatHandler();
void detach();
- virtual void notifyStrMapSubject(const bool direction,
- jami::strMapSubjectPtr subject) override;
- const std::string& dataPath() const { return dataPath_; }
+ virtual void notifyStrMapSubject(const bool direction, jami::strMapSubjectPtr subject) override;
private:
std::string dataPath_;