Changeset 0.10.5 (#61)
This commit is contained in:
@@ -193,7 +193,7 @@ async function newChat() {
|
||||
}
|
||||
|
||||
async function deleteChat(chatId) {
|
||||
if (!confirm('Delete this chat?')) return;
|
||||
if (!await showConfirm('Delete this chat?')) return;
|
||||
try {
|
||||
await API.deleteChannel(chatId);
|
||||
App.chats = App.chats.filter(c => c.id !== chatId);
|
||||
|
||||
Reference in New Issue
Block a user