fix: reject unconfirmed Telegram tests and invalid update responses
This commit is contained in:
@@ -71,7 +71,7 @@ const TelegramPanel = ({isAdmin}) => {
|
||||
</div>
|
||||
) : d.bagli ? (
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<button onClick={() => calistir('test', telegramTest, 'Test mesajı gönderildi — Telegram\'ı kontrol edin.')} disabled={!!busy}
|
||||
<button onClick={() => calistir('test', telegramTest, 'Telegram sağlayıcısı test mesajını kabul etti. Sohbetinizde kontrol edin.')} disabled={!!busy}
|
||||
className="bg-sky-600 hover:bg-sky-500 disabled:opacity-40 text-white font-bold text-xs px-4 py-2 rounded-lg flex items-center gap-1.5">
|
||||
{busy === 'test' ? <Loader2 className="w-3.5 h-3.5 animate-spin" /> : <Send className="w-3.5 h-3.5" />} Test mesajı gönder
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user