Don't panic if editing message fails
This commit is contained in:
parent
e6f9c36d87
commit
622daca720
1 changed files with 1 additions and 0 deletions
|
@ -597,6 +597,7 @@ func (portal *Portal) handleExistingMessageUpdate(ctx context.Context, source *U
|
||||||
resp, err := portal.sendMessage(converted.Intent, event.EventMessage, part.Content, part.Extra, ts)
|
resp, err := portal.sendMessage(converted.Intent, event.EventMessage, part.Content, part.Extra, ts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Err(err).Msg("Failed to send message")
|
log.Err(err).Msg("Failed to send message")
|
||||||
|
continue
|
||||||
} else {
|
} else {
|
||||||
eventIDs = append(eventIDs, resp.EventID)
|
eventIDs = append(eventIDs, resp.EventID)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue