SEGFAULLSSTRSS
This commit is contained in:
parent
5948f30396
commit
05a83c297c
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) {
|
||||||
user := update.User
|
user := update.User
|
||||||
|
|
||||||
if update.ReplyTo != nil {
|
if update.ReplyTo != nil {
|
||||||
|
if update.ReplyTo.Text == nil {
|
||||||
|
broker.SendTextMessage(update.Chat, "Non c'e' niente di 'ispiratore' in questo..", &update.MessageID)
|
||||||
|
return
|
||||||
|
}
|
||||||
text = *(update.ReplyTo.Text)
|
text = *(update.ReplyTo.Text)
|
||||||
user = update.ReplyTo.User
|
user = update.ReplyTo.User
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue