From f04b54e3fc162d475e8688784631a316f264f733 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 May 2023 14:56:39 +0300 Subject: Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent --- plugins/HistoryPlusPlus/hpp_externalgrid.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HistoryPlusPlus/hpp_externalgrid.pas') diff --git a/plugins/HistoryPlusPlus/hpp_externalgrid.pas b/plugins/HistoryPlusPlus/hpp_externalgrid.pas index ce87e08aef..b67e82c1f6 100644 --- a/plugins/HistoryPlusPlus/hpp_externalgrid.pas +++ b/plugins/HistoryPlusPlus/hpp_externalgrid.pas @@ -533,7 +533,7 @@ begin begin if (not Item.IsRead) then db_event_markRead(Items[Index].hContact, Items[Index].hDBEvent); - cli^.pfnRemoveEvent(Items[Index].hContact, Items[Index].hDBEvent); + Clist_RemoveEvent(Items[Index].hContact, Items[Index].hDBEvent); end else if (not Item.IsRead) and (MessageTypesToDWord(Item.MessageType) and MessageTypesToDWord([mtStatus, mtNickChange, mtAvatarChange]) > 0) then -- cgit v1.2.3