From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.88.254] (unknown [125.160.110.15]) by gnuweeb.org (Postfix) with ESMTPSA id 7F47A8060F; Tue, 2 Aug 2022 21:47:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1659476877; bh=nxpnj2+ZQ7CkpCaqBF3vL3+EJy/syzeaSmpiA5+FeWg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=te84GuJzcj8QmA9BZlxf13YLvMoGDhc0SGfUatoHJP10EmLCRDMGzzX88CI71cDze chD4GxLLwRN51gLF9k9i3gEWtZCIXGslXpTN360E1vlug1LvR2J9LgYepsADvJMbtP pgyVygz5184QMaeERtXmkMkQRCYZgwqUQPubzIsbfqnvzpV0eWTu6wax0buhUOEMWM OAXYghwGMYxKx6dc+3UztPTc/W4RoGFkZ3xttKgpzFhJYM1f1+hosPl4P5+tlZEIEk lAPyhRTHFSex6Rw/WYvW3CwAfDL8ReUKLbQKPiKa98TX7ORJKa1NCR+4rbMsdZljX0 jZbKSbv/ckl9A== Message-ID: <503e3912-fa26-85b1-5c62-5e92c9a0adc3@gnuweeb.org> Date: Wed, 3 Aug 2022 04:47:54 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v5 19/19] Add del_chat callback query Content-Language: en-US To: Muhammad Rizki Cc: GNU/Weeb Mailing List , Alviro Iskandar Setiawan References: <20220801001917.992-1-kiizuha@gnuweeb.org> <20220801001917.992-20-kiizuha@gnuweeb.org> From: Ammar Faizi In-Reply-To: <20220801001917.992-20-kiizuha@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 8/1/22 7:19 AM, Muhammad Rizki wrote: > + > + index = int(utils.remove_command(cb.data)) > + chat = chats[index - 1] > + chat_id = chat[1] > + chat_name = chat[3] > + A trailing whitespace here. > + success = c.db.delete_broadcast(chat_id) > + if not success: -- Ammar Faizi