From 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Dec 2019 16:08:03 +0300 Subject: GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName --- plugins/IEView/src/TemplateHTMLBuilder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp') diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp index df46c30801..91ec9309ff 100644 --- a/plugins/IEView/src/TemplateHTMLBuilder.cpp +++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp @@ -120,7 +120,7 @@ void TemplateHTMLBuilder::buildHeadTemplate(IEView *view, IEVIEWEVENT *event, Pr char *szStatusMsg = nullptr; MCONTACT hRealContact = getRealContact(event->hContact); - const char *szRealProto = GetContactProto(hRealContact); + const char *szRealProto = Proto_GetBaseAccountName(hRealContact); TemplateMap *tmpm = getTemplateMap(protoSettings); if (tmpm == nullptr) @@ -285,8 +285,8 @@ void TemplateHTMLBuilder::appendEventTemplate(IEView *view, IEVIEWEVENT *event, bool isGrouping = false; MCONTACT hRealContact = getRealContact(event->hContact); - const char *szRealProto = GetContactProto(hRealContact); - const char *szProto = GetContactProto(event->hContact); + const char *szRealProto = Proto_GetBaseAccountName(hRealContact); + const char *szProto = Proto_GetBaseAccountName(event->hContact); tempBase[0] = '\0'; TemplateMap *tmpm = getTemplateMap(protoSettings); -- cgit v1.2.3