diff --git a/src/actionextenderdefault.cpp b/src/actionextenderdefault.cpp
index 470ff6900a401b376172f7b7f9d4429cd4b6fe90..5e68a27968ec6936b863783bd313571f6922a2fe 100644
--- a/src/actionextenderdefault.cpp
+++ b/src/actionextenderdefault.cpp
@@ -31,6 +31,11 @@ void ActionExtenderDefault::viewChatHistory(ContactMethod* cm)
    Q_UNUSED(cm)
 }
 
+void ActionExtenderDefault::viewChatHistory(Person* p)
+{
+   Q_UNUSED(p)
+}
+
 void ActionExtenderDefault::copyInformation(QMimeData* data)
 {
    Q_UNUSED(data)
diff --git a/src/actionextenderdefault.h b/src/actionextenderdefault.h
index f687d98205ce84a3d8ec19954a65a855de2d0fdc..6ddf55d38855bd1f826224d7c176bdd39bd2773c 100644
--- a/src/actionextenderdefault.h
+++ b/src/actionextenderdefault.h
@@ -37,6 +37,7 @@ public:
 
    virtual void editPerson(Person* p) override;
    virtual void viewChatHistory(ContactMethod* cm) override;
+   virtual void viewChatHistory(Person* p) override;
    virtual void copyInformation(QMimeData* data) override;
    virtual bool warnDeletePerson(Person* p) override;
    virtual bool warnDeleteCall(Call* c) override;
diff --git a/src/interfaces/actionextenderi.h b/src/interfaces/actionextenderi.h
index 83f53d7fceb8a99ebb54f7d554d8ae950d6f7775..bf9bcde724f7ffd255ee5e4c3180e4676d5c28a5 100644
--- a/src/interfaces/actionextenderi.h
+++ b/src/interfaces/actionextenderi.h
@@ -49,6 +49,7 @@ public:
 
    virtual void editPerson(Person* p) = 0;
    virtual void viewChatHistory(ContactMethod* cm) = 0;
+   virtual void viewChatHistory(Person* p) = 0;
    virtual void copyInformation(QMimeData* data) = 0;
    virtual bool warnDeletePerson(Person* p) = 0;
    virtual bool warnDeleteCall(Call* c) = 0;
diff --git a/src/useractionmodel.cpp b/src/useractionmodel.cpp
index 329ec1e31f94a510727f1510438e60dea7f84075..e9496ea03c55f63d1f66597956e192ebbb6128d4 100644
--- a/src/useractionmodel.cpp
+++ b/src/useractionmodel.cpp
@@ -1080,7 +1080,10 @@ bool UserActionModel::execute(const UserActionModel::Action action) const
             UserActions::bookmark(cm);
             break;
          case UserActionModel::Action::VIEW_CHAT_HISTORY :
-            GlobalInstances::actionExtender().viewChatHistory(cm);
+            if (p)
+               GlobalInstances::actionExtender().viewChatHistory(p);
+            else
+               GlobalInstances::actionExtender().viewChatHistory(cm);
             break;
          case UserActionModel::Action::ADD_CONTACT_METHOD:
             UserActions::addToPerson(p);