Skip to content

Commit 6f93072

Browse files
author
Simon Naumov
authored
🐛 wicked markdown (#141)
1 parent 80caf13 commit 6f93072

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [1.2.5] - 21.04.2022
4+
5+
### Fixed
6+
7+
- Escaping markdown in messages
8+
39
## [1.2.4] - 19.04.2022
410

511
### Fixed
@@ -130,6 +136,7 @@
130136
- Implicit party pulling
131137
- Rude mode
132138

139+
[1.2.5]: https://github.com/pool-party/pull-party-bot/compare/v1.2.4...v1.2.5
133140
[1.2.4]: https://github.com/pool-party/pull-party-bot/compare/v1.2.3...v1.2.4
134141
[1.2.3]: https://github.com/pool-party/pull-party-bot/compare/v1.2.2...v1.2.3
135142
[1.2.2]: https://github.com/pool-party/pull-party-bot/compare/v1.2.1...v1.2.2

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: java -jar build/libs/pull-party-bot-1.2.4.jar
1+
web: java -jar build/libs/pull-party-bot-1.2.5.jar

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
group = "org.pool-party"
12-
version = "1.2.4"
12+
version = "1.2.5"
1313

1414
repositories {
1515
maven("https://jitpack.io")

src/main/kotlin/com/github/pool_party/pull_party_bot/commands/handlers/callback/PingCallback.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import com.github.pool_party.pull_party_bot.commands.CallbackAction
77
import com.github.pool_party.pull_party_bot.commands.CallbackData
88
import com.github.pool_party.pull_party_bot.commands.answerCallbackQueryLogging
99
import com.github.pool_party.pull_party_bot.commands.deleteMessageLogging
10+
import com.github.pool_party.pull_party_bot.commands.escapeMarkdown
1011
import com.github.pool_party.pull_party_bot.commands.messages.ON_PING_CREATOR_MISMATCH
1112
import com.github.pool_party.pull_party_bot.commands.sendMessageLogging
1213
import com.github.pool_party.pull_party_bot.database.dao.PartyDao
@@ -32,7 +33,7 @@ class PingCallback(private val partyDao: PartyDao) : Callback {
3233
}
3334

3435
val chatId = message.chat.id
35-
sendMessageLogging(chatId, party.users)
36+
sendMessageLogging(chatId, party.users.escapeMarkdown())
3637
deleteMessageLogging(chatId, message.message_id)
3738
}
3839
}

0 commit comments

Comments
 (0)