mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2026-11-10 12:53:16 +00:00
preview adding of several sources chats
This commit is contained in:
1 parent
bb433a6441
commit
250f88e2fe
7 files changed
+26
-19
No files matched your search
@@ -104,10 +104,12 @@ object Plugin : Plugin {
|
||||
return@forEach
|
||||
}
|
||||
|
||||
send(
|
||||
chatsConfig.sourceChatId,
|
||||
"Can't find any messages for post $postId. So, deleting it"
|
||||
)
|
||||
runCatching {
|
||||
send(
|
||||
chatsConfig.cacheChatId,
|
||||
"Can't find any messages for post $postId. So, deleting it"
|
||||
)
|
||||
}
|
||||
runCatching {
|
||||
postsRepo.deleteById(postId)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user