Fix backward compatibility with old clients

This commit is contained in:
Zoltán Papp
2025-09-29 21:24:02 +02:00
parent 33f4bf8bbd
commit a2f8667f9d
2 changed files with 5 additions and 2 deletions

View File

@@ -119,7 +119,10 @@ func (s *Server) Send(ctx context.Context, msg *proto.EncryptedMessage) (*proto.
return &proto.EncryptedMessage{}, nil
}
return s.dispatcher.SendMessage(ctx, msg, false)
if _, err := s.dispatcher.SendMessage(ctx, msg, false); err != nil {
log.Errorf("error sending message via dispatcher: %v", err)
}
return &proto.EncryptedMessage{}, nil
}
// SendWithDeliveryCheck forwards a message to the signal peer with error handling