Skip to content

Commit bf7eb69

Browse files
SwirlypoVoq
authored andcommitted
fix #197
1 parent 903c02a commit bf7eb69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bridge/matrix/matrix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ func (b *Bmatrix) handleEdit(ev *event.Event, rmsg config.Message) bool {
501501
func (b *Bmatrix) handleReply(ev *event.Event, rmsg config.Message) bool {
502502
relation := ev.Content.AsMessage().OptionalGetRelatesTo()
503503

504-
if relation == nil {
504+
if relation == nil || relation.InReplyTo == nil || relation.InReplyTo.EventID == "" {
505505
return false
506506
}
507507

0 commit comments

Comments
 (0)