Fix identation

This commit is contained in:
madahin 2020-11-09 19:12:14 +01:00
parent 9df38b5a88
commit e786b77f62
1 changed files with 6 additions and 6 deletions

View File

@ -29,10 +29,10 @@ func Spongify(input_message string) string {
func Sponge(m *tb.Message) {
message := ""
if m.IsReply() {
message = Spongify(m.ReplyTo.Text)
} else {
message = Spongify(shared.History.LastMessage(m.Chat.ID))
}
shared.Bot.Send(m.Chat, message)
if m.IsReply() {
message = Spongify(m.ReplyTo.Text)
} else {
message = Spongify(shared.History.LastMessage(m.Chat.ID))
}
shared.Bot.Send(m.Chat, message)
}