Remove unused variable

This commit is contained in:
Zoltán Papp
2025-09-26 17:23:22 +02:00
parent e5f61c0361
commit caf0c81524

View File

@@ -141,8 +141,7 @@ func (s *Server) SendWithDeliveryCheck(ctx context.Context, msg *proto.Encrypted
return &emptypb.Empty{}, nil
}
msg, err := s.dispatcher.SendMessage(ctx, msg, true)
if err != nil {
if _, err := s.dispatcher.SendMessage(ctx, msg, true); err != nil {
return nil, err
}