From edf0065e094203b237199259421744d1c65c76d5 Mon Sep 17 00:00:00 2001 From: Vadim Saranov Date: Tue, 27 Oct 2026 20:14:12 +0300 Subject: [PATCH] core: fix O/A state names table The OA_PreviewCompleted state added to the enum by 3b94b6d1 was missing from __dlg_oa_status2str, shifting the names: the state was logged as "Completed", and OA_Completed itself - one past the initializers, inside the __max_OA-sized array - printed as "(null)". Signed-off-by: Vadim Saranov --- core/AmOfferAnswer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/AmOfferAnswer.cpp b/core/AmOfferAnswer.cpp index 39faf048..cfec1006 100644 --- a/core/AmOfferAnswer.cpp +++ b/core/AmOfferAnswer.cpp @@ -40,6 +40,7 @@ const char* __dlg_oa_status2str[AmOfferAnswer::__max_OA] = { "None", "OfferRecved", "OfferSent", + "PreviewCompleted", "Completed" };