mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2026-11-25 19:52:57 +00:00
fixes
This commit is contained in:
1 parent
7a4fb05bfb
commit
e59c7b0f7e
1 file changed
+2
-2
@@ -109,7 +109,7 @@ object Plugin : Plugin {
|
||||
|
||||
row {
|
||||
urlButton(
|
||||
dateTime.format(dateTimeFormat),
|
||||
dateTime.local.format(dateTimeFormat),
|
||||
makeLinkToMessage(post.chatId, post.messageId)
|
||||
)
|
||||
}
|
||||
@@ -132,7 +132,7 @@ object Plugin : Plugin {
|
||||
}
|
||||
|
||||
onMessageDataCallbackQuery(
|
||||
Regex("^$pageCallbackDataQueryPrefix"),
|
||||
Regex("^$pageCallbackDataQueryPrefix\\d+"),
|
||||
initialFilter = { it.message.sameChat(chatConfig.sourceChatId) }
|
||||
) {
|
||||
val page = it.data.removePrefix(pageCallbackDataQueryPrefix).toIntOrNull() ?: let { _ ->
|
||||
|
||||
Reference in new issue
Block a user