diff --git a/DeleteEmbeds/build.gradle.kts b/DeleteEmbeds/build.gradle.kts index d01ea59..d2a2eb3 100644 --- a/DeleteEmbeds/build.gradle.kts +++ b/DeleteEmbeds/build.gradle.kts @@ -1,2 +1,2 @@ -version = "1.0.5" +version = "1.0.6" description = "Delete embeds." diff --git a/DeleteEmbeds/src/main/java/com/aliucord/plugins/DeleteEmbeds.kt b/DeleteEmbeds/src/main/java/com/aliucord/plugins/DeleteEmbeds.kt index 7123ed7..7e2ce37 100644 --- a/DeleteEmbeds/src/main/java/com/aliucord/plugins/DeleteEmbeds.kt +++ b/DeleteEmbeds/src/main/java/com/aliucord/plugins/DeleteEmbeds.kt @@ -59,6 +59,7 @@ class DeleteEmbeds : Plugin() { Utils.threadPool.execute { deleteEmbed(message.channelId, message.id) } + (callFrame.thisObject as WidgetChatListActions).dismiss() } catch (e: IllegalAccessException) { Utils.showToast(context, "Internal error occured.") e.printStackTrace()