From b08481dc61bfe0459d36df3bbfc163d9fc457623 Mon Sep 17 00:00:00 2001 From: rrandomsky Date: Tue, 13 Jun 2023 10:28:23 +0200 Subject: [PATCH] [MOS-946] Revert: USSD contacts Revert: Fixed adding USSD codes to phonebook. --- module-utils/utility/Utils.hpp | 4 ++-- pure_changelog.md | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module-utils/utility/Utils.hpp b/module-utils/utility/Utils.hpp index a70085282c7b669688487550cb526d08a85a9d8e..e9585fcb99a65cae0e05a1ebf964e6ed08741ecd 100644 --- a/module-utils/utility/Utils.hpp +++ b/module-utils/utility/Utils.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. +// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once @@ -99,7 +99,7 @@ namespace utils static inline bool is_phone_number(const std::string &s) { - return s.find_first_not_of(" +-.*#()0123456789") == std::string::npos; + return s.find_first_not_of(" +-.#()0123456789") == std::string::npos; } static inline std::string ltrim(const std::string &s) diff --git a/pure_changelog.md b/pure_changelog.md index 277f7192f02c877f3c62953893d5bb5c95e1b3e9..ba86a38cd4e4623f5cf49733d56f5c5a2aa20191 100644 --- a/pure_changelog.md +++ b/pure_changelog.md @@ -35,7 +35,6 @@ * Fixed misleading "Nie" abbreviation for word "Niedziela" (Sunday) in new alarm window * Fixed automatic message pasting into content field in thread view after message forwarding * Fixed redundant logs about CSQ reporting mode -* Fixed adding USSD codes to phonebook * Fixed slider-related crash on phone turn off * Fixed problem with an unresponsive device after playing specific WAV files. * Fixed unresponsive Templates window for user input after templates were changed via MC.